]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall-interfaces.erb
Allow group write to the nodes database
[chef.git] / cookbooks / networking / templates / default / shorewall-interfaces.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 ?FORMAT 2
4
5 # ZONE  INTERFACE       OPTIONS
6 <% node[:networking][:interfaces].each do |name,interface| -%>
7 <% if interface[:interface] && interface[:family] == "inet" -%>
8 <% if interface[:role] == "internal" -%>
9 loc     <%= interface[:interface] %>            nosmurfs,tcpflags
10 <% elsif interface[:role] == "external" -%>
11 net     <%= interface[:interface] %>            nosmurfs,tcpflags
12 <% end -%>
13 <% end -%>
14 <% end -%>
15 loc     tun+            nosmurfs,tcpflags