From: Jochen Topf Date: Mon, 26 May 2014 08:18:20 +0000 (+0200) Subject: Add info message for taginfo.openstreetmap.org/about. X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/426929d413ee6b334ed1c5f3b5e46689055a641f?hp=293e937354dace9745b8e8f6860e09cbeac54424 Add info message for taginfo.openstreetmap.org/about. --- diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index fcbbe05af..27f560f3d 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -72,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] @@ -107,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}" diff --git a/roles/taginfo.rb b/roles/taginfo.rb index a6496b23d..ffafde661 100644 --- a/roles/taginfo.rb +++ b/roles/taginfo.rb @@ -29,6 +29,7 @@ default_attributes( { :name => "taginfo.openstreetmap.org", :description => "This is the main taginfo site. It contains OSM data for the whole planet and is updated daily.", + :about => "

This site is run by the OSMF and maintained by Jochen Topf and the Sysadmin team.

There isn't just one taginfo site, there are several. The is the main site, but several other taginfo sites are operated by different people.

", :icon => "world", :contact => "Jochen Topf " }