X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bd1a856797211001b32f47b89d947be41c07e9b4..a08c8d97d5cd3666799fb3bef14618d4c7c23398:/cookbooks/web/resources/rails_port.rb diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 978dcb70f..e0c9cad91 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -22,6 +22,8 @@ require "yaml" resource_name :rails_port provides :rails_port +unified_mode true + default_action :create property :site, String, :name_property => true @@ -448,6 +450,7 @@ action :create do 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