From ad53ab745fcbf38fb337e0925d47c2956f23ad82 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 22 Jul 2025 18:21:46 +0100 Subject: [PATCH] Configure maptiler key for web site --- cookbooks/web/recipes/rails.rb | 1 + cookbooks/web/resources/rails_port.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index 904c95770..c58ddf4fd 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -133,6 +133,7 @@ rails_port "www.openstreetmap.org" do wikipedia_auth_secret web_passwords["wikipedia_auth_secret"] thunderforest_key web_passwords["thunderforest_key"] tracestrack_key web_passwords["tracestrack_key"] + maptiler_key web_passwords["maptiler_key"] totp_key web_passwords["totp_key"] csp_enforce true trace_use_job_queue true diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index b6209d50b..a365219da 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -69,6 +69,7 @@ property :wikipedia_auth_id, String property :wikipedia_auth_secret, String property :thunderforest_key, String property :tracestrack_key, String +property :maptiler_key, String property :totp_key, String property :csp_enforce, [true, false], :default => false property :csp_report_url, String @@ -330,6 +331,7 @@ action :create do "wikipedia_auth_secret", "thunderforest_key", "tracestrack_key", + "maptiler_key", "totp_key", "csp_enforce", "csp_report_url", -- 2.39.5