]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall6-interfaces.erb
Add a load more cookbooks
[chef.git] / cookbooks / networking / templates / default / shorewall6-interfaces.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 # ZONE  INTERFACE       UNICAST         OPTIONS
4 <% node[:networking][:interfaces].each do |name,interface| -%>
5 <% if interface[:family] == "inet6" -%>
6 <% if interface[:role] == "internal" -%>
7 loc     <%= interface[:interface] %>            -
8 <% elsif interface[:role] == "external" -%>
9 net     <%= interface[:interface] %>            -
10 <% end -%>
11 <% end -%>
12 <% end -%>