<% node[:networking][:interfaces].each do |name,interface| -%>
<% if interface[:interface] && interface[:family] == "inet" -%>
<% if interface[:role] == "internal" -%>
<% node[:networking][:interfaces].each do |name,interface| -%>
<% if interface[:interface] && interface[:family] == "inet" -%>
<% if interface[:role] == "internal" -%>