X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/2ec62d46e6d050fe6384df90a2869036662d1b51..faf8ae12e85eabb050b0f5eceb2cb67ad1de5261:/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 index 000000000..c2ac66356 --- /dev/null +++ b/cookbooks/networking/templates/default/shorewall6-hosts.erb @@ -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 -%>