]> git.openstreetmap.org Git - chef.git/blob - roles/spike-02.rb
Move readonly load back to ramoth
[chef.git] / roles / spike-02.rb
1 name "spike-02"
2 description "Master role applied to spike-02"
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.163",
12         :hwaddress => "00:1b:78:04:76:c0"
13       },
14       :external_ipv4 => {
15         :interface => "eth1",
16         :role => :external,
17         :family => :inet,
18         :address => "193.63.75.100",
19         :hwaddress => "00:1b:78:04:a5:5a"
20       },
21       :external_ipv6 => {
22         :interface => "eth1",
23         :role => :external,
24         :family => :inet6,
25         :address => "2001:630:12:500:219:bbff:fe39:3d9e",
26         :hwaddress => "00:1b:78:04:a5:5a"
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 )