X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ebe7b10737a3af9065bd3cf4bfbba5bab21808d4..5fde77fb90280da2c008bb5e8e83f6635b999715:/cookbooks/web/resources/rails_port.rb diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 34ae01458..385423528 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -86,6 +86,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[ @@ -336,7 +340,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,