X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0b6e69c7180f39fff977aa548056c2d1e6ff6983..67c05c6c4b484a6cdac9473b4e6951e5c76c42a3:/roles/db-slave.rb diff --git a/roles/db-slave.rb b/roles/db-slave.rb index cc49870d9..5b5c09b33 100644 --- a/roles/db-slave.rb +++ b/roles/db-slave.rb @@ -3,19 +3,19 @@ description "Role applied to all slave database servers" default_attributes( :postgresql => { - :versions => ["9.1"], + :versions => ["9.5"], :settings => { :defaults => { :hot_standby => "on", :hot_standby_feedback => "on", :standby_mode => "on", :primary_conninfo => { - :host => "katla.ic.openstreetmap.org", + :host => "karm.ams.openstreetmap.org", :port => "5432", :user => "replication", :passwords => { :bag => "db", :item => "passwords" } }, - :restore_command => "/usr/bin/rsync katla.ic.openstreetmap.org::archive/%f %p" + :restore_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-fetch %f %p" } } }