projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a439230
)
Specify database for osm2pgsql on rendering servers
author
Paul Norman
<penorman@mac.com>
Sat, 4 Feb 2017 22:40:57 +0000
(14:40 -0800)
committer
Paul Norman
<penorman@mac.com>
Sat, 4 Feb 2017 22:40:57 +0000
(14:40 -0800)
cookbooks/tile/templates/default/replicate.erb
patch
|
blob
|
history
diff --git
a/cookbooks/tile/templates/default/replicate.erb
b/cookbooks/tile/templates/default/replicate.erb
index 1b6c61bbc96f588ee5810a9f6e71b9cfce5ffd86..145f6eb407c9f35e980b7a366a2a035143e15c5b 100644
(file)
--- a/
cookbooks/tile/templates/default/replicate.erb
+++ b/
cookbooks/tile/templates/default/replicate.erb
@@
-68,9
+68,9
@@
do
# Apply the changes to the database
<% if node[:tile][:node_file] -%>
# Apply the changes to the database
<% if node[:tile][:node_file] -%>
- osm2pgsql --slim --append --number-processes=1 --flat-nodes=<%= node[:tile][:node_file] %> ${file}
+ osm2pgsql --
database gis --
slim --append --number-processes=1 --flat-nodes=<%= node[:tile][:node_file] %> ${file}
<% else -%>
<% else -%>
- osm2pgsql --slim --append --number-processes=1 ${file}
+ osm2pgsql --
database gis --
slim --append --number-processes=1 ${file}
<% end -%>
# No need to rollback now
<% end -%>
# No need to rollback now