X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a26a8b173f903cf338c1749a4238c3710c17726c..b7f67ceb48b5f0fc94e9a9db74ddcf4a98a50fe9:/roles/db-slave.rb?ds=sidebyside diff --git a/roles/db-slave.rb b/roles/db-slave.rb index 3f7fa44f2..8def8c8b0 100644 --- a/roles/db-slave.rb +++ b/roles/db-slave.rb @@ -3,19 +3,18 @@ description "Role applied to all slave database servers" default_attributes( :postgresql => { - :versions => ["9.5"], :settings => { :defaults => { :hot_standby => "on", :hot_standby_feedback => "on", :standby_mode => "on", :primary_conninfo => { - :host => "karm.ic.openstreetmap.org", + :host => "snap-01.ams.openstreetmap.org", :port => "5432", :user => "replication", :passwords => { :bag => "db", :item => "passwords" } }, - :restore_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-fetch %f %p" + :restore_command => "/usr/local/bin/openstreetmap-wal-g wal-fetch %f %p" } } }