]> git.openstreetmap.org Git - chef.git/commitdiff
Switch planetdump host to db-slave
authorGrant Slater <git@firefishy.com>
Fri, 4 Jul 2014 22:55:44 +0000 (23:55 +0100)
committerGrant Slater <git@firefishy.com>
Fri, 4 Jul 2014 22:55:57 +0000 (23:55 +0100)
cookbooks/planet/templates/default/planetdump.erb

index 98cc545b304cc196a47b8748bc284c3f158ddc5b..d60de2b5bd3d4d32c48fcaae147a4743d96f449b 100644 (file)
@@ -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'