X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/98365f1da1424a74d5e1a562f0885608fadb88e7..a7d96c8358a00088b485fadb5966eb4b231d2ff1:/roles/gateway.rb diff --git a/roles/gateway.rb b/roles/gateway.rb new file mode 100644 index 000000000..653d686f3 --- /dev/null +++ b/roles/gateway.rb @@ -0,0 +1,18 @@ +name "gateway" +description "Role applied to all network gateways" + +default_attributes( + :sysctl => { + :network_forwarding => { + :comment => "Enable forwarding", + :parameters => { "net.ipv4.ip_forward" => "1" } + } + }, + :exim => { + :relay_from_hosts => [ "10.0.0.0/8"] + } +) + +run_list( + "recipe[bind]" +)