]> git.openstreetmap.org Git - chef.git/blob - roles/naga.rb
Update MWG wiki to mediawiki 1.43
[chef.git] / roles / naga.rb
1 name "naga"
2 description "Master role applied to naga"
3
4 default_attributes(
5   :elasticsearch => {
6     :version => "7.x",
7     :cluster => {
8       :name => "foundation"
9     }
10   },
11   :memcached => {
12     :memory_limit => 400,
13     :chunk_growth_factor => 1.05,
14     :min_item_size => 5
15   },
16   :mysql => {
17     :settings => {
18       :mysqld => {
19         :innodb_buffer_pool_size => "512M",
20         :key_buffer_size => "64M",
21         :max_connections => "200",
22         :sort_buffer_size => "8M",
23         :tmp_table_size => "48M"
24       }
25     }
26   },
27   :networking => {
28     :interfaces => {
29       :internal => {
30         :inet => {
31           :address => "10.0.64.8"
32         },
33         :bond => {
34           :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
35         }
36       },
37       :henet => {
38         :inet => {
39           :address => "184.104.226.104"
40         },
41         :inet6 => {
42           :address => "2001:470:1:b3b::8"
43         }
44       },
45       :equinix => {
46         :inet => {
47           :address => "87.252.214.104"
48         },
49         :inet6 => {
50           :address => "2001:4d78:fe03:1c::8"
51         }
52       }
53     }
54   }
55 )
56
57 run_list(
58   "role[equinix-dub-public]",
59   "role[hp-g9]",
60   "role[subversion]",
61   "role[trac]",
62   "role[irc]",
63   "role[blogs]",
64   "role[switch2osm]",
65   "role[elasticsearch]",
66   "recipe[foundation::birthday]",
67   "recipe[foundation::board]",
68   "recipe[foundation::dwg]",
69   "recipe[foundation::mastodon]",
70   "recipe[foundation::mwg]",
71   "recipe[foundation::owg]",
72   "recipe[foundation::welcome]",
73   "recipe[foundation::wiki]",
74   "recipe[stateofthemap::container]",
75   "recipe[hot]",
76   "recipe[ideditor]",
77   "recipe[dmca]",
78   "role[otrs]",
79   "role[osqa]"
80 )