]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-slave.rb
Update reverse DNS for AMS internal network
[chef.git] / roles / db-slave.rb
index 30c4a79bf1c62619a929c466fb353da737da0351..8def8c8b0d0b532be144afe32c4f09346e2cd879 100644 (file)
@@ -9,12 +9,12 @@ default_attributes(
         :hot_standby_feedback => "on",
         :standby_mode => "on",
         :primary_conninfo => {
         :hot_standby_feedback => "on",
         :standby_mode => "on",
         :primary_conninfo => {
-          :host => "karm.ams.openstreetmap.org",
+          :host => "snap-01.ams.openstreetmap.org",
           :port => "5432",
           :user => "replication",
           :passwords => { :bag => "db", :item => "passwords" }
         },
           :port => "5432",
           :user => "replication",
           :passwords => { :bag => "db", :item => "passwords" }
         },
-        :restore_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-fetch %f %p"
+        :restore_command => "/usr/local/bin/openstreetmap-wal-g wal-fetch %f %p"
       }
     }
   }
       }
     }
   }