]> git.openstreetmap.org Git - chef.git/blob - roles/thorn-02.rb
Disable IPv6 auto-configuration on internal network for thorns
[chef.git] / roles / thorn-02.rb
1 name "thorn-02"
2 description "Master role applied to thorn-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.166"
12       }
13     }
14   },
15   :sysctl => {
16     :ipv6_autoconf => {
17       :comment => "Disable IPv6 auto-configuration on internal interface",
18       :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" }
19     }
20   }
21 )
22
23 run_list(
24   "role[ic]",
25   "role[hp-g5]",
26   "role[web-backend]"
27 )