X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..388a527fdf388cd5383b978d0cb5406d787b8661:/cookbooks/db/recipes/master.rb?ds=sidebyside diff --git a/cookbooks/db/recipes/master.rb b/cookbooks/db/recipes/master.rb index 70ae0e673..62ce2b4d7 100644 --- a/cookbooks/db/recipes/master.rb +++ b/cookbooks/db/recipes/master.rb @@ -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