]> git.openstreetmap.org Git - chef.git/blob - roles/spike-03.rb
Add role for fafnir
[chef.git] / roles / spike-03.rb
1 name "spike-03"
2 description "Master role applied to spike-03"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal_ipv4 => {
8         :interface => "eth0",
9         :role => :internal,
10         :family => :inet,
11         :address => "146.179.159.171",
12         :hwaddress => "00:19:bb:39:8a:bc"
13       },
14       :external_ipv4 => {
15         :interface => "eth1",
16         :role => :external,
17         :family => :inet,
18         :address => "193.63.75.103",
19         :hwaddress => "00:19:bb:39:8a:ba"
20       },
21       :external_ipv6 => {
22         :interface => "eth1",
23         :role => :external,
24         :family => :inet6,
25         :address => "2001:630:12:500:219:bbff:fe39:8aba",
26         :hwaddress => "00:19:bb:39:8a:ba"
27       }
28     }
29   },
30   :sysctl => {
31     :ipv6_autoconf => {
32       :comment => "Disable IPv6 auto-configuration on internal interface",
33       :parameters => {
34         "net.ipv6.conf.eth0.autoconf" => "0",
35         "net.ipv6.conf.eth0.accept_ra" => "0"
36       }
37     }
38   }
39 )
40
41 run_list(
42   "role[ic]",
43   "role[hp-dl360-g6]",
44   "role[web-frontend]"
45 )