]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall6-hosts.erb
Sort tile cache addresses into a deterministic order
[chef.git] / cookbooks / networking / templates / default / shorewall6-hosts.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 # ZONE  HOST                                            OPTIONS
4 <% node.interfaces(:family => :inet6, :role => :external).each do |interface| -%>
5 <% @zones.keys.sort.each do |zone| -%>
6 <% if @zones[zone]["inet6"] -%>
7 <% @zones[zone]["inet6"].sort.each do |ra| -%>
8 <%= zone %>     <%= interface[:interface] %>:[<%= ra %>]
9 <% end -%>
10 <% end -%>
11 <% end -%>
12 <% end -%>