]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/owl/recipes/default.rb
put dulcy in production mode and enable backups
[chef.git] / cookbooks / owl / recipes / default.rb
index f71623c6eba0291840f9b5881ec9e9036ff143c8..c65e2c74a95a39551b199dba656c52b8d58c15ec 100644 (file)
@@ -82,7 +82,7 @@ end
 directory "/srv/owl.openstreetmap.org" do
   owner "owl"
   group "owl"
 directory "/srv/owl.openstreetmap.org" do
   owner "owl"
   group "owl"
-  mode 02775
+  mode 0o2775
 end
 
 file "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/tmp/restart.txt" do
 end
 
 file "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/tmp/restart.txt" do
@@ -121,7 +121,7 @@ template "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/config/datab
   source "database.yml.erb"
   owner "owl"
   group "owl"
   source "database.yml.erb"
   owner "owl"
   group "owl"
-  mode 0664
+  mode 0o664
   notifies :run, "execute[/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/Gemfile]"
   only_if { node[:postgresql][:clusters][:"9.1/main"] }
 end
   notifies :run, "execute[/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/Gemfile]"
   only_if { node[:postgresql][:clusters][:"9.1/main"] }
 end