]> git.openstreetmap.org Git - chef.git/blob - roles/taginfo.rb
Remove geodns role from cherufe
[chef.git] / roles / taginfo.rb
1 name "taginfo"
2 description "Role applied to all taginfo servers"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :jochen => {
8         :status => :administrator
9       },
10       :taginfo => {
11         :status => :role,
12         :members => [:jochen, :tomh]
13       }
14     }
15   },
16   :apache => {
17     :mpm => "event",
18     :event => {
19       :server_limit => 40,
20       :max_request_workers => 1000,
21       :min_spare_threads => 50,
22       :max_spare_threads => 150,
23       :threads_per_child => 50,
24       :max_connections_per_child => 10000
25     }
26   },
27   :passenger => {
28     :max_pool_size => 50
29   },
30   :planet => {
31     :current => {
32       :jobs => {
33         :taginfo => {
34           :command => "/usr/local/bin/taginfo-update",
35           :user => "taginfo"
36         }
37       }
38     }
39   },
40   :taginfo => {
41     :sites => [
42       {
43         :name => "taginfo.openstreetmap.org",
44         :aliases => ["taginfo.osm.org"],
45         :description => "This is the main taginfo site. It contains OSM data for the whole planet and is updated daily.",
46         :about => "<p>This site is run by the <a href='https://www.osmfoundation.org/'>OSMF</a> and maintained by <a href='https://www.openstreetmap.org/user/Jochen%20Topf'>Jochen Topf</a> and the <a href='https://wiki.openstreetmap.org/wiki/System_Administrators'>Sysadmin team</a>.</p><p>Several <a class='extlink' href='//wiki.openstreetmap.org/wiki/Taginfo/Sites'>other taginfo sites</a> are operated by different people for different areas of the world.</p>",
47         :icon => "world",
48         :contact => "Jochen Topf <jochen@remote.org>"
49       }
50     ]
51   }
52 )
53
54 run_list(
55   "role[planet-current]",
56   "recipe[taginfo]"
57 )