]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-slave.rb
Configure the publisher URL for rails port instances
[chef.git] / roles / db-slave.rb
index cc49870d928cf9e6d67b0832abfcdaf7f25fd319..03b6fd89b3c930954576794ba0884a5ac4e223b2 100644 (file)
@@ -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.ic.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/bin/rsync karm.ic.openstreetmap.org::archive/%f %p"
       }
     }
   }