]> git.openstreetmap.org Git - chef.git/blob - roles/taginfo.rb
Add role for firnen
[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         :members => [:jochen, :tomh]
12       }
13     }
14   },
15   :apache => {
16     :mpm => "event",
17     :event => {
18       :server_limit => 40,
19       :max_request_workers => 1000,
20       :min_spare_threads => 50,
21       :max_spare_threads => 150,
22       :threads_per_child => 50,
23       :max_connections_per_child => 10000
24     }
25   },
26   :passenger => {
27     :max_pool_size => 50
28   },
29   :planet => {
30     :current => {
31       :jobs => {
32         :taginfo => {
33           :command => "/usr/local/bin/taginfo-update",
34           :user => "taginfo"
35         }
36       }
37     }
38   },
39   :taginfo => {
40     :sites => [
41       {
42         :name => "taginfo.openstreetmap.org",
43         :aliases => ["taginfo.osm.org"],
44         :description => "This is the main taginfo site. It contains OSM data for the whole planet and is updated daily.",
45         :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>",
46         :icon => "world",
47         :contact => "Jochen Topf <jochen@remote.org>"
48       }
49     ]
50   }
51 )
52
53 run_list(
54   "role[planet-current]",
55   "recipe[taginfo]"
56 )