From 426929d413ee6b334ed1c5f3b5e46689055a641f Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Mon, 26 May 2014 10:18:20 +0200 Subject: [PATCH 1/1] Add info message for taginfo.openstreetmap.org/about. --- cookbooks/taginfo/recipes/default.rb | 2 ++ roles/taginfo.rb | 1 + 2 files changed, 3 insertions(+) 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 " } -- 2.43.2