From: Tom Hughes Date: Fri, 22 Sep 2023 16:52:57 +0000 (+0100) Subject: Configure Tracestrack API key for the web site X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/957fe0cb69e06271876a586614edfe19a73e70f5 Configure Tracestrack API key for the web site --- diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index 90bd16c0a..5d7715be7 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -130,6 +130,7 @@ rails_port "www.openstreetmap.org" do wikipedia_auth_id "e4fe0c2c5855d23ed7e1f1c0fa1f1c58" wikipedia_auth_secret web_passwords["wikipedia_auth_secret"] thunderforest_key web_passwords["thunderforest_key"] + tracestrack_key web_passwords["tracestrack_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 385423528..cf1f1a6b9 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -68,6 +68,7 @@ property :github_auth_secret, String property :wikipedia_auth_id, String property :wikipedia_auth_secret, String property :thunderforest_key, String +property :tracestrack_key, String property :totp_key, String property :csp_enforce, [true, false], :default => false property :csp_report_url, String @@ -325,6 +326,7 @@ action :create do "wikipedia_auth_id", "wikipedia_auth_secret", "thunderforest_key", + "tracestrack_key", "totp_key", "csp_enforce", "csp_report_url", diff --git a/test/data_bags/web/passwords.json b/test/data_bags/web/passwords.json index 844086210..7d42400ad 100644 --- a/test/data_bags/web/passwords.json +++ b/test/data_bags/web/passwords.json @@ -12,6 +12,7 @@ "mapquest_key": "mapquest", "mapzen_valhalla_key": "mapzen-valhalla", "thunderforest_key": "thunderforest", + "tracestrack_key": "tracestrack", "totp_key": "totp", "aws_key": "aws" }