Use fully qualified name for katla
authorTom Hughes <tom@compton.nu>
Sat, 7 May 2016 19:32:48 +0000 (20:32 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 7 May 2016 19:32:48 +0000 (20:32 +0100)
roles/db-slave.rb

index cdc828defc76d4b0fa193185e388a35f0fde0233..cc49870d928cf9e6d67b0832abfcdaf7f25fd319 100644 (file)
@@ -10,12 +10,12 @@ default_attributes(
         :hot_standby_feedback => "on",
         :standby_mode => "on",
         :primary_conninfo => {
-          :host => "katla",
+          :host => "katla.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 katla.ic.openstreetmap.org::archive/%f %p"
       }
     }
   }