]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/templates/default/shorewall6-hosts.erb
Add a load more cookbooks
[chef.git] / cookbooks / networking / templates / default / shorewall6-hosts.erb
diff --git a/cookbooks/networking/templates/default/shorewall6-hosts.erb b/cookbooks/networking/templates/default/shorewall6-hosts.erb
new file mode 100644 (file)
index 0000000..c2ac663
--- /dev/null
@@ -0,0 +1,12 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
+# ZONE HOST                                            OPTIONS
+<% node.interfaces(:family => :inet6, :role => :external).each do |interface| -%>
+<% @zones.keys.sort.each do |zone| -%>
+<% if @zones[zone]["inet6"] -%>
+<% @zones[zone]["inet6"].sort.each do |ra| -%>
+<%= zone %>    <%= interface[:interface] %>:[<%= ra %>]
+<% end -%>
+<% end -%>
+<% end -%>
+<% end -%>