]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-slave.rb
Replace foodcritic and rubocop with cookstyle
[chef.git] / roles / db-slave.rb
index 03b6fd89b3c930954576794ba0884a5ac4e223b2..5b5c09b33fe85424d079bcb8200d1d09b07d1619 100644 (file)
@@ -10,12 +10,12 @@ default_attributes(
         :hot_standby_feedback => "on",
         :standby_mode => "on",
         :primary_conninfo => {
-          :host => "karm.ic.openstreetmap.org",
+          :host => "karm.ams.openstreetmap.org",
           :port => "5432",
           :user => "replication",
           :passwords => { :bag => "db", :item => "passwords" }
         },
-        :restore_command => "/usr/bin/rsync karm.ic.openstreetmap.org::archive/%f %p"
+        :restore_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-fetch %f %p"
       }
     }
   }