]> git.openstreetmap.org Git - chef.git/blob - roles/thorn-01.rb
Fix typo
[chef.git] / roles / thorn-01.rb
1 name "thorn-01"
2 description "Master role applied to thorn-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.51",
12         :bond => {
13           :slaves => %w[eth0 eth1]
14         }
15       }
16     }
17   },
18   :sysctl => {
19     :ipv6_autoconf => {
20       :comment => "Disable IPv6 auto-configuration on internal interface",
21       :parameters => {
22         "net.ipv6.conf.eth0.autoconf" => "0",
23         "net.ipv6.conf.eth0.accept_ra" => "0"
24       }
25     }
26   }
27 )
28
29 run_list(
30   "role[equinix]",
31   "role[web-backend]"
32 )