X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/356a507d8627f062775ea315500c3f099588b5e3..7710e00d9f2c809cf2349d43c6ae10ee01f36b62:/cookbooks/web/resources/rails_port.rb diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index f8ee4ca2e..978dcb70f 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -73,6 +73,7 @@ property :diary_feed_delay, Integer property :storage_configuration, Hash, :default => {} property :storage_service, String, :default => "local" property :storage_url, String +property :tile_cdn_url, String action :create do package %W[ @@ -85,6 +86,7 @@ action :create do package %w[ g++ + make pkg-config libpq-dev libsasl2-dev @@ -318,8 +320,9 @@ action :create do "trace_use_job_queue", "diary_feed_delay", "storage_service", - "storage_url" - ).reject { |_k, v| v.nil? }.merge( + "storage_url", + "tile_cdn_url" + ).compact.merge( "server_protocol" => "https", "server_url" => new_resource.site, "support_email" => "support@openstreetmap.org",