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