From: Grant Slater Date: Fri, 4 Jul 2014 22:55:44 +0000 (+0100) Subject: Switch planetdump host to db-slave X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8771d94d8bfd599356ab8a6f697289a26788a9b3?hp=cfcf5640dfd4f192afac921a687459c071db400d Switch planetdump host to db-slave --- diff --git a/cookbooks/planet/templates/default/planetdump.erb b/cookbooks/planet/templates/default/planetdump.erb index 98cc545b3..d60de2b5b 100644 --- a/cookbooks/planet/templates/default/planetdump.erb +++ b/cookbooks/planet/templates/default/planetdump.erb @@ -23,7 +23,7 @@ cur_planet=planet-${cur_date}.osm cur_changeset=changesets-${cur_date}.osm planet_dir=/store/planet/ -export CONNECTION_PARAMS='dbname=openstreetmap host=localhost user=planetdump password=<%= @password %>' +export CONNECTION_PARAMS='dbname=openstreetmap host=db-slave user=planetdump password=<%= @password %>' export PATH='/usr/local/bin:/usr/bin:/bin:/usr/bin/X11'