]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-slave.rb
Pass authentication headers to cgimap so that it can handle OAuth.
[chef.git] / roles / db-slave.rb
index cc49870d928cf9e6d67b0832abfcdaf7f25fd319..c80f9a4cb5512520232ab2877f7f22c94f026b10 100644 (file)
@@ -10,12 +10,12 @@ default_attributes(
         :hot_standby_feedback => "on",
         :standby_mode => "on",
         :primary_conninfo => {
         :hot_standby_feedback => "on",
         :standby_mode => "on",
         :primary_conninfo => {
-          :host => "katla.ic.openstreetmap.org",
+          :host => "katla.bm.openstreetmap.org",
           :port => "5432",
           :user => "replication",
           :passwords => { :bag => "db", :item => "passwords" }
         },
           :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 katla.bm.openstreetmap.org::archive/%f %p"
       }
     }
   }
       }
     }
   }