]> git.openstreetmap.org Git - chef.git/blob - roles/naga.rb
otrs: allow writing of pid
[chef.git] / roles / naga.rb
1 name "naga"
2 description "Master role applied to naga"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal => {
8         :interface => "bond0",
9         :role => :internal,
10         :inet => {
11           :address => "10.0.64.8"
12         },
13         :bond => {
14           :mode => "802.3ad",
15           :lacprate => "fast",
16           :xmithashpolicy => "layer3+4",
17           :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
18         }
19       },
20       :external => {
21         :interface => "bond0.101",
22         :role => :external,
23         :inet => {
24           :address => "184.104.226.104"
25         },
26         :inet6 => {
27           :address => "2001:470:1:b3b::8"
28         }
29       }
30     }
31   },
32   :otrs => {
33     :site => "test.otrs.openstreetmap.org",
34     :site_aliases => ["test.otrs.osm.org"],
35     :database_cluster => "16/main"
36   },
37   :postgresql => {
38     :versions => ["16"]
39   }
40 )
41
42 run_list(
43   "role[equinix-dub]",
44   "role[hp-g9]",
45   "role[subversion]",
46   "role[trac]",
47   "role[irc]",
48   "role[blogs]",
49   "role[switch2osm]",
50   "recipe[foundation::mastodon]",
51   "recipe[foundation::owg]",
52   "recipe[foundation::welcome]",
53   "recipe[stateofthemap::container]",
54   "recipe[hot]",
55   "recipe[ideditor]",
56   "recipe[dmca]",
57   "recipe[otrs::debian]"
58 )