]> git.openstreetmap.org Git - chef.git/blob - roles/spike-04.rb
Revert "Switch load to katla temporarily to reboot ramoth, which is having kernel...
[chef.git] / roles / spike-04.rb
1 name "spike-04"
2 description "Master role applied to spike-04"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal_ipv4 => {
8         :interface => "bond0",
9         :role => :internal,
10         :family => :inet,
11         :address => "10.0.32.21",
12         :bond => {
13           :slaves => %w(em1 em2)
14         }
15       },
16       :external_ipv4 => {
17         :interface => "bond0.214",
18         :role => :external,
19         :family => :inet,
20         :address => "89.16.162.21"
21       },
22       :external_ipv6 => {
23         :interface => "bond0.214",
24         :role => :external,
25         :family => :inet6,
26         :address => "2001:41c9:2:d6::21"
27       }
28     }
29   },
30   :sysctl => {
31     :ipv6_autoconf => {
32       :comment => "Disable IPv6 auto-configuration on internal interface",
33       :parameters => {
34         "net.ipv6.conf.bond0.autoconf" => "0",
35         "net.ipv6.conf.bond0.accept_ra" => "0"
36       }
37     }
38   }
39 )
40
41 run_list(
42   "role[bytemark]",
43   "role[web-frontend]",
44   # "role[web-gpximport]",
45   # "role[web-statistics]",
46   # "role[web-cleanup]"
47 )