]> git.openstreetmap.org Git - chef.git/blob - roles/tabaluga.rb
Ignore some unconnected IPMI fan sensors
[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           :slaves => %w[eno1 eno2]
18         }
19       },
20       :external_ipv4 => {
21         :interface => "bond0.2",
22         :role => :external,
23         :family => :inet,
24         :address => "130.117.76.14"
25       },
26       :external_ipv6 => {
27         :interface => "bond0.2",
28         :role => :external,
29         :family => :inet6,
30         :address => "2001:978:2:2C::172:E"
31       }
32     }
33   }
34 )
35
36 run_list(
37   "role[equinix]",
38   "role[hp-g9]",
39   "role[wiki]",
40   "recipe[dhcpd]"
41 )