]> git.openstreetmap.org Git - chef.git/blob - roles/spike-01.rb
dhcp: Only use first ntp server in DHCP replies
[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.48.6",
12         :bond => {
13           :slaves => %w[eth0 eth1]
14         }
15       },
16       :external_ipv4 => {
17         :interface => "bond0.2",
18         :role => :external,
19         :family => :inet,
20         :address => "130.117.76.6"
21       },
22       :external_ipv6 => {
23         :interface => "bond0.2",
24         :role => :external,
25         :family => :inet6,
26         :address => "2001:978:2:2C::172:6"
27       }
28     }
29   }
30 )
31
32 run_list(
33   "role[equinix]",
34   "role[hp-dl360-g6]",
35   "role[web-gpximport]"
36 )