]> git.openstreetmap.org Git - chef.git/blob - roles/spike-01.rb
Update interface list for remaining G9s in Dublin
[chef.git] / roles / spike-01.rb
1 name "spike-01"
2 description "Master role applied to spike-01"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal_ipv4 => {
8         :interface => "bond0",
9         :role => :internal,
10         :family => :inet,
11         :address => "10.0.64.3",
12         :bond => {
13           :mode => "802.3ad",
14           :lacprate => "fast",
15           :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
16         }
17       },
18       :external_ipv4 => {
19         :interface => "bond0.101",
20         :role => :external,
21         :family => :inet,
22         :address => "184.104.226.99"
23       },
24       :external_ipv6 => {
25         :interface => "bond0.101",
26         :role => :external,
27         :family => :inet6,
28         :address => "2001:470:1:b3b::3"
29       }
30     }
31   }
32 )
33
34 run_list(
35   "role[equinix-dub]",
36   "role[hp-g9]",
37   "role[web-frontend]"
38 )