]> git.openstreetmap.org Git - chef.git/blob - roles/naga.rb
Use correct gateway for additional routes
[chef.git] / roles / naga.rb
1 name "naga"
2 description "Master role applied to naga"
3
4 default_attributes(
5   :networking => {
6     :engine => "systemd-networkd",
7     :interfaces => {
8       :internal => {
9         :interface => "bond0",
10         :role => :internal,
11         :inet => {
12           :address => "10.0.64.8"
13         },
14         :bond => {
15           :mode => "802.3ad",
16           :lacprate => "fast",
17           :xmithashpolicy => "layer3+4",
18           :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
19         }
20       },
21       :external => {
22         :interface => "bond0.101",
23         :role => :external,
24         :inet => {
25           :address => "184.104.226.104"
26         },
27         :inet6 => {
28           :address => "2001:470:1:b3b::8"
29         }
30       }
31     }
32   }
33 )
34
35 run_list(
36   "role[equinix-dub]",
37   "role[hp-g9]",
38   "role[subversion]",
39   "role[trac]",
40   "role[irc]",
41   "role[blogs]",
42   "role[munin]",
43   "role[switch2osm]",
44   "recipe[foundation::owg]",
45   "recipe[foundation::welcome]",
46   "recipe[stateofthemap::container]"
47 )