]> git.openstreetmap.org Git - chef.git/blob - roles/tabaluga.rb
Drop roles for thorn-02 and thorn-03
[chef.git] / roles / tabaluga.rb
1 name "tabaluga"
2 description "Master role applied to tabaluga"
3
4 default_attributes(
5   :dhcpd => {
6     :first_address => "10.0.62.1",
7     :last_address => "10.0.62.254"
8   },
9   :networking => {
10     :interfaces => {
11       :internal_ipv4 => {
12         :interface => "bond0",
13         :role => :internal,
14         :family => :inet,
15         :address => "10.0.48.14",
16         :bond => {
17           :mode => "802.3ad",
18           :lacprate => "fast",
19           :xmithashpolicy => "layer3+4",
20           :slaves => %w[eno1 eno2]
21         }
22       },
23       :external_ipv4 => {
24         :interface => "bond0.2",
25         :role => :external,
26         :family => :inet,
27         :address => "130.117.76.14"
28       },
29       :external_ipv6 => {
30         :interface => "bond0.2",
31         :role => :external,
32         :family => :inet6,
33         :address => "2001:978:2:2C::172:E"
34       }
35     }
36   }
37 )
38
39 run_list(
40   "role[equinix-ams]",
41   "role[hp-g9]",
42   "role[wiki]",
43   "recipe[dhcpd]"
44 )