]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall-masq.erb
Fix munin for internal-only hosts at Bytemark
[chef.git] / cookbooks / networking / templates / default / shorewall-masq.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 # INTERFACE     SOURCE          ADDRESS
4 <% node.interfaces(:role => :external).each do |external| -%>
5 <% node.interfaces(:role => :internal).each do |internal| -%>
6 <%= external[:interface] %>             <%= internal[:network] %>/<%= internal[:prefix] %>      detect
7 <% end -%>
8 <% end -%>