]> git.openstreetmap.org Git - chef.git/commitdiff
Remove remnants of old osmium from taginfo recipe.
authorJochen Topf <jochen@topf.org>
Tue, 17 Nov 2015 10:28:10 +0000 (11:28 +0100)
committerJochen Topf <jochen@topf.org>
Tue, 17 Nov 2015 10:28:10 +0000 (11:28 +0100)
cookbooks/taginfo/recipes/default.rb

index 840eea1290b06920471e424d559a5ea3b4b00cee..a4e6c4966c06a7852a63cbced8f3a813a8e81e5b 100644 (file)
@@ -26,8 +26,6 @@ include_recipe "git"
 package "libsqlite3-dev"
 package "zlib1g-dev"
 package "libbz2-dev"
-package "libosmpbf-dev"
-package "libprotobuf-dev"
 package "libboost-dev"
 package "libexpat1-dev"
 package "libsparsehash-dev"
@@ -98,14 +96,6 @@ node[:taginfo][:sites].each do |site|
     mode 0755
   end
 
-#  git "#{directory}/osmium" do
-#    action :sync
-#    repository "git://github.com/joto/osmium.git"
-#    revision "osmorg-taginfo-live"
-#    user "taginfo"
-#    group "taginfo"
-#  end
-
   git "#{directory}/libosmium" do
     action :sync
     repository "git://github.com/osmcode/libosmium.git"
@@ -139,9 +129,7 @@ node[:taginfo][:sites].each do |site|
     settings["sources"]["db"]["planetfile"] = "#{directory}/planet/planet.pbf"
     settings["sources"]["db"]["bindir"] = "#{directory}/taginfo/tagstats"
     settings["sources"]["db"]["tagstats"] = "#{directory}/taginfo/tagstats/tagstats"
-#    settings["tagstats"]["cxxflags"] = "-I../../osmium/include"
     settings["tagstats"]["cxxflags"] = "-I../../libosmium/include"
-#    settings["tagstats"]["geodistribution"] = "MmapAnon"
     settings["tagstats"]["geodistribution"] = "DenseMmapArray"
     settings["user_interface"]["key_page"]["show_tab_similar"] = true
     settings["level0"]["overpass_url_prefix"] = "http://overpass-api.de/api/interpreter?"
@@ -163,7 +151,6 @@ node[:taginfo][:sites].each do |site|
     cwd "#{directory}/taginfo/tagstats"
     user "taginfo"
     group "taginfo"
-#    subscribes :run, "git[#{directory}/osmium]"
     subscribes :run, "git[#{directory}/libosmium]"
     subscribes :run, "git[#{directory}/taginfo]"
     notifies :restart, "service[apache2]"