]> git.openstreetmap.org Git - chef.git/blob - roles/thorn-01.rb
nominatim: 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 => "eth0",
9         :role => :internal,
10         :family => :inet,
11         :address => "146.179.159.165"
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[web-backend]"
29 )