X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4166e6d35cf8c114805a3da2f8b39ad1f26de6df..df9094f9aca14fa8b8318618964ea216cb2acb91:/roles/db-slave.rb?ds=sidebyside diff --git a/roles/db-slave.rb b/roles/db-slave.rb index cdc828def..03b6fd89b 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", + :host => "karm.ic.openstreetmap.org", :port => "5432", :user => "replication", :passwords => { :bag => "db", :item => "passwords" } }, - :restore_command => "/usr/bin/rsync katla::archive/%f %p" + :restore_command => "/usr/bin/rsync karm.ic.openstreetmap.org::archive/%f %p" } } }