X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8a91485750044e1a2371ac2623247354893a84f4..67c4970880bf20f42452c57c820b5b8ecaa63862:/roles/db-slave.rb?ds=sidebyside diff --git a/roles/db-slave.rb b/roles/db-slave.rb index c80f9a4cb..3f7fa44f2 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.bm.openstreetmap.org", + :host => "karm.ic.openstreetmap.org", :port => "5432", :user => "replication", :passwords => { :bag => "db", :item => "passwords" } }, - :restore_command => "/usr/bin/rsync katla.bm.openstreetmap.org::archive/%f %p" + :restore_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-fetch %f %p" } } }