]> git.openstreetmap.org Git - chef.git/blob - roles/jakelong.rb
Merge interface families
[chef.git] / roles / jakelong.rb
1 name "jakelong"
2 description "Master role applied to jakelong"
3
4 default_attributes(
5   :dhcpd => {
6     :first_address => "10.0.78.1",
7     :last_address => "10.0.78.254"
8   },
9   :networking => {
10     :interfaces => {
11       :internal => {
12         :interface => "bond0",
13         :role => :internal,
14         :inet => {
15           :address => "10.0.64.12"
16         },
17         :bond => {
18           :mode => "802.3ad",
19           :lacprate => "fast",
20           :xmithashpolicy => "layer3+4",
21           :slaves => %w[eno1 eno2 eno3 eno4 ens1f0 ens1f1]
22         }
23       },
24       :external => {
25         :interface => "bond0.101",
26         :role => :external,
27         :inet => {
28           :address => "184.104.226.108"
29         },
30         :inet6 => {
31           :address => "2001:470:1:b3b::c"
32         }
33       }
34     }
35   }
36 )
37
38 run_list(
39   "role[equinix-dub]",
40   "role[hp-dl360e-g8]",
41   "role[community]",
42   "recipe[dhcpd]"
43 )