X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..ddb1840147187f05afa60aba2ca861b62443dac6:/cookbooks/owl/recipes/default.rb diff --git a/cookbooks/owl/recipes/default.rb b/cookbooks/owl/recipes/default.rb index 819abdd78..f71623c6e 100644 --- a/cookbooks/owl/recipes/default.rb +++ b/cookbooks/owl/recipes/default.rb @@ -36,8 +36,6 @@ gem_package "bundler#{node[:owl][:ruby]}" do options "--format-executable" end -apache_module "deflate" - apache_module "passenger" do conf "passenger.conf.erb" end @@ -97,7 +95,7 @@ execute "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/Gemfile" do cwd "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails" user "root" group "root" - notifies :touch, resources(:file => "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/tmp/restart.txt") + notifies :touch, "file[/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/tmp/restart.txt]" end git "/srv/owl.openstreetmap.org/openstreetmap-watch-list" do @@ -106,7 +104,7 @@ git "/srv/owl.openstreetmap.org/openstreetmap-watch-list" do revision "owl.osm.org" user "owl" group "owl" - notifies :run, resources(:execute => "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/Gemfile") + notifies :run, "execute[/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/Gemfile]" end directory "srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/tmp" do @@ -124,11 +122,11 @@ template "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/config/datab owner "owl" group "owl" mode 0664 - notifies :run, resources(:execute => "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/Gemfile") - only_if { node[:postgresql][:clusters]["9.1/main"] } + notifies :run, "execute[/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/Gemfile]" + only_if { node[:postgresql][:clusters][:"9.1/main"] } end apache_site "owl.openstreetmap.org" do template "apache.erb" - variables :aliases => [ "owl.osm.org" ] + variables :aliases => ["owl.osm.org"] end