]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/recipes/default.rb
Add info message for taginfo.openstreetmap.org/about.
[chef.git] / cookbooks / taginfo / recipes / default.rb
index a0a4091961cc86764a781338cdca87b4025b79b4..27f560f3d78177984858e1c4b53345ca6c826117 100644 (file)
@@ -37,6 +37,7 @@ package "g++"
 package "sqlite3"
 package "osmosis"
 package "curl"
+package "m4"
 package "subversion"
 
 package "ruby"
@@ -71,6 +72,7 @@ node[:taginfo][:sites].each do |site|
   name = site[:name]
   directory = site[:directory] || "/srv/#{name}"
   description = site[:description]
+  about = site[:about]
   icon = site[:icon]
   contact = site[:contact]
 
@@ -106,6 +108,7 @@ node[:taginfo][:sites].each do |site|
 
   settings["instance"]["url"] = "http://#{name}/"
   settings["instance"]["description"] = description
+  settings["instance"]["about"] = about
   settings["instance"]["icon"] = "/img/logo/#{icon}.png"
   settings["instance"]["contact"] = contact
   settings["logging"]["directory"] = "/var/log/taginfo/#{name}"
@@ -116,6 +119,7 @@ node[:taginfo][:sites].each do |site|
   settings["sources"]["db"]["planetfile"] = "#{directory}/planet/planet.pbf"
   settings["sources"]["db"]["tagstats"] = "#{directory}/taginfo/tagstats/tagstats"
   settings["tagstats"]["cxxflags"] = "-I../../osmium/include"
+  settings["tagstats"]["geodistribution"] = "MmapAnon"
 
   file "#{directory}/taginfo-config.json" do
     owner "taginfo"