From c38fe4f2235708a86e6f1b547f6bb3432130f3a7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 16 Feb 2014 16:28:42 +0000 Subject: [PATCH] Minor fixes for taginfo --- cookbooks/taginfo/recipes/default.rb | 6 ++++++ cookbooks/taginfo/templates/default/update-planet.erb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index 628f1f5ac..ee3d887fe 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -137,6 +137,12 @@ node[:taginfo][:sites].each do |site| mode 0755 end + directory "#{directory}/data/old" do + owner "taginfo" + group "taginfo" + mode 0755 + end + directory "#{directory}/download" do owner "taginfo" group "taginfo" diff --git a/cookbooks/taginfo/templates/default/update-planet.erb b/cookbooks/taginfo/templates/default/update-planet.erb index 3a96141a7..a728ac1bf 100644 --- a/cookbooks/taginfo/templates/default/update-planet.erb +++ b/cookbooks/taginfo/templates/default/update-planet.erb @@ -31,7 +31,7 @@ fi # osc file is ready, create new planet file -osmosis --read-xml-change "$OSCFILE" --read-bin "$PLANETOLD" --buffer bufferCapacity=12000 --apply-change --buffer bufferCapacity=12000 --write-pbf omitmetadata=true file="$PLANETNEW" +osmosis --read-xml-change "$OSCFILE" --read-bin "$PLANETOLD" --buffer bufferCapacity=12000 --apply-change --buffer bufferCapacity=12000 --write-pbf file="$PLANETNEW" # cleanup -- 2.43.2