options "--format-executable"
end
-apache_module "deflate"
-
apache_module "passenger" do
conf "passenger.conf.erb"
end
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
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
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