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