]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-slave.rb
Turn the nginx access log off properly
[chef.git] / roles / db-slave.rb
index 03b6fd89b3c930954576794ba0884a5ac4e223b2..b020bb5ed0e410a017f952cd82473e515a8fbfe0 100644 (file)
@@ -10,12 +10,12 @@ default_attributes(
         :hot_standby_feedback => "on",
         :standby_mode => "on",
         :primary_conninfo => {
-          :host => "karm.ic.openstreetmap.org",
+          :host => "katla.bm.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"
       }
     }
   }