]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-slave.rb
Allow new UCL addresses to access the backup server
[chef.git] / roles / db-slave.rb
index cdc828defc76d4b0fa193185e388a35f0fde0233..c80f9a4cb5512520232ab2877f7f22c94f026b10 100644 (file)
@@ -10,12 +10,12 @@ default_attributes(
         :hot_standby_feedback => "on",
         :standby_mode => "on",
         :primary_conninfo => {
-          :host => "katla",
+          :host => "katla.bm.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 katla.bm.openstreetmap.org::archive/%f %p"
       }
     }
   }