X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7646875350f33fccb38f8553495b4b5cb9121ac8..0cb42478ac4a41c21bd564360dbb07ad722dc90b:/cookbooks/taginfo/recipes/default.rb diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index a0a409196..27f560f3d 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -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"