]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/recipes/master.rb
Disable "slow run" reporting for chef
[chef.git] / cookbooks / db / recipes / master.rb
index 70ae0e6736a8c7389b809b4517cffad26f638e48..62ce2b4d7ef850d391df79b74d13aa87f5df201f 100644 (file)
@@ -80,12 +80,12 @@ end
 postgresql_extension "btree_gist" do
   cluster node[:db][:cluster]
   database "openstreetmap"
-  only_if { node[:postgresql][:clusters][node[:db][:cluster]] and node[:postgresql][:clusters][node[:db][:cluster]][:version] >= 9.0 }
+  only_if { node[:postgresql][:clusters][node[:db][:cluster]] && node[:postgresql][:clusters][node[:db][:cluster]][:version] >= 9.0 }
 end
 
 template "/etc/cron.daily/rails-db" do
   source "cron.erb"
   owner "root"
   group "root"
-  mode 0755
+  mode 0o755
 end