Set location of tagstats in taginfo config
authorTom Hughes <tom@compton.nu>
Sun, 16 Feb 2014 14:07:05 +0000 (14:07 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 16 Feb 2014 14:07:05 +0000 (14:07 +0000)
cookbooks/taginfo/recipes/default.rb

index 31592b9babd6ab4380a6c362981a152824165eb4..628f1f5aca9f2d7cae2f5728bc9a4b02a533dee5 100644 (file)
@@ -104,6 +104,7 @@ node[:taginfo][:sites].each do |site|
   settings["opensearch"]["shortname"] = "Taginfo"
   settings["opensearch"]["contact"] = "webmaster@openstreetmap.org"
   settings["sources"]["db"]["planetfile"] = "#{directory}/planet/planet.pbf"
   settings["opensearch"]["shortname"] = "Taginfo"
   settings["opensearch"]["contact"] = "webmaster@openstreetmap.org"
   settings["sources"]["db"]["planetfile"] = "#{directory}/planet/planet.pbf"
+  settings["sources"]["db"]["tagstats"] = "#{directory}/taginfo/tagstats/tagstats"
   settings["tagstats"]["cxxflags"] = "-I../../osmium/include"
 
   file "#{directory}/taginfo-config.json" do
   settings["tagstats"]["cxxflags"] = "-I../../osmium/include"
 
   file "#{directory}/taginfo-config.json" do