]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/recipes/master.rb
Drop role for noquiklos
[chef.git] / cookbooks / db / recipes / master.rb
index 5e51ca030478d2c2552ad796ef605a5a394f2969..fe9c4cacf403471a3d0857255b5361267535b9aa 100644 (file)
@@ -49,6 +49,7 @@ end
 postgresql_user "planetdiff" do
   cluster node[:db][:cluster]
   password passwords["planetdiff"]
 postgresql_user "planetdiff" do
   cluster node[:db][:cluster]
   password passwords["planetdiff"]
+  replication true
 end
 
 postgresql_user "backup" do
 end
 
 postgresql_user "backup" do
@@ -82,7 +83,3 @@ postgresql_extension "btree_gist" do
   database "openstreetmap"
   only_if { node[:postgresql][:clusters][node[:db][:cluster]] && node[:postgresql][:clusters][node[:db][:cluster]][:version] >= 9.0 }
 end
   database "openstreetmap"
   only_if { node[:postgresql][:clusters][node[:db][:cluster]] && node[:postgresql][:clusters][node[:db][:cluster]][:version] >= 9.0 }
 end
-
-file "/etc/cron.daily/rails-db" do
-  action :delete
-end