]> git.openstreetmap.org Git - chef.git/blob - roles/gateway.rb
Bump cookstyle from 6.20.1 to 6.20.2
[chef.git] / roles / gateway.rb
1 name "gateway"
2 description "Role applied to all network gateways"
3
4 default_attributes(
5   :sysctl => {
6     :network_forwarding => {
7       :comment => "Enable forwarding",
8       :parameters => { "net.ipv4.ip_forward" => "1" }
9     }
10   },
11   :exim => {
12     :relay_from_hosts => ["10.0.0.0/8"]
13   }
14 )
15
16 run_list(
17   "recipe[bind]"
18 )