X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/6ed30a3d11d87fbec3d4ecef4c14b0f8ed707216..5811b56e902aa25d82cd6c4061585d4981c17df9:/roles/taginfo.rb diff --git a/roles/taginfo.rb b/roles/taginfo.rb index 2a273725f..c7d3d5b51 100644 --- a/roles/taginfo.rb +++ b/roles/taginfo.rb @@ -8,21 +8,49 @@ default_attributes( :status => :administrator }, :taginfo => { - :status => :role, - :members => [ :jochen, :tomh ] + :members => [:jochen, :tomh] } } }, - :apt => { - :sources => [ "brightbox-ruby-ng" ] + :apache => { + :mpm => "event", + :event => { + :server_limit => 40, + :max_request_workers => 1000, + :min_spare_threads => 50, + :max_spare_threads => 150, + :threads_per_child => 50, + :max_connections_per_child => 10000 + } + }, + :passenger => { + :max_pool_size => 50 + }, + :planet => { + :current => { + :jobs => { + :taginfo => { + :command => "/usr/local/bin/taginfo-update", + :user => "taginfo" + } + } + } }, :taginfo => { :sites => [ - { :name => "taginfo.openstreetmap.org" } + { + :name => "taginfo.openstreetmap.org", + :aliases => ["taginfo.osm.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.

Several other taginfo sites are operated by different people for different areas of the world.

", + :icon => "world", + :contact => "Jochen Topf " + } ] } ) run_list( + "role[planet-current]", "recipe[taginfo]" )