projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfcf564
)
Switch planetdump host to db-slave
author
Grant Slater
<git@firefishy.com>
Fri, 4 Jul 2014 22:55:44 +0000
(23:55 +0100)
committer
Grant Slater
<git@firefishy.com>
Fri, 4 Jul 2014 22:55:57 +0000
(23:55 +0100)
cookbooks/planet/templates/default/planetdump.erb
patch
|
blob
|
history
diff --git
a/cookbooks/planet/templates/default/planetdump.erb
b/cookbooks/planet/templates/default/planetdump.erb
index 98cc545b304cc196a47b8748bc284c3f158ddc5b..d60de2b5bd3d4d32c48fcaae147a4743d96f449b 100644
(file)
--- 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'