X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ebe7b10737a3af9065bd3cf4bfbba5bab21808d4..eb2f07271931a87b9ba1104b0eec6240e7bf300b:/cookbooks/web/resources/rails_port.rb?ds=sidebyside diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 34ae01458..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 @@ -86,6 +87,10 @@ property :trace_image_storage_url, String property :trace_icon_storage_url, String property :tile_cdn_url, String property :imagery_blacklist, Array +property :signup_ip_per_day, Integer +property :signup_ip_max_burst, Integer +property :signup_email_per_day, Integer +property :signup_email_max_burst, Integer action :create do package %W[ @@ -321,6 +326,7 @@ action :create do "wikipedia_auth_id", "wikipedia_auth_secret", "thunderforest_key", + "tracestrack_key", "totp_key", "csp_enforce", "csp_report_url", @@ -336,7 +342,11 @@ action :create do "trace_image_storage_url", "trace_icon_storage_url", "tile_cdn_url", - "imagery_blacklist" + "imagery_blacklist", + "signup_ip_per_day", + "signup_ip_max_burst", + "signup_email_per_day", + "signup_email_max_burst" ).compact.merge( "server_protocol" => "https", "server_url" => new_resource.site,