resource_name :rails_port
provides :rails_port
+unified_mode true
+
default_action :create
property :site, String, :name_property => true
package %w[
g++
+ make
pkg-config
libpq-dev
libsasl2-dev
"storage_service",
"storage_url",
"tile_cdn_url"
- ).reject { |_k, v| v.nil? }.merge(
+ ).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