resource_name :rails_port
provides :rails_port
+unified_mode true
+
default_action :create
property :site, String, :name_property => true
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[
package %w[
g++
+ make
pkg-config
libpq-dev
libsasl2-dev
"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",
file "#{rails_directory}/public/export/embed.html" do
action :nothing
subscribes :delete, "git[#{rails_directory}]"
+ subscribes :delete, "file[#{rails_directory}/config/settings.local.yml]"
end
passenger_application rails_directory do