###
### File managed by Puppet
###
<%- (0..(@ipaddress.length-1)).each do |id| -%>
<%= @ipaddress[id] %>/<%= @netmask[id] %> via <%= @gateway[id] %> dev <%= @interface %><%- if @table -%> table <%= @table[id] %><%- end -%>
<%- end %>

###
### File managed by Puppet
###
<%- (0..(@ipaddress.length-1)).each do |id| -%>
<%= @ipaddress[id] %>/<%= @netmask[id] %> via <%= @gateway[id] %> dev <%= @interface %><%- if @table -%> table <%= @table[id] %><% end %>
<%- end %>

Fix looping error on Redhat Network Routes
Fix looping error on Redhat Network Routes

Fixed the erb syntax to ensure a new line is added in to the relevant network scripts after each static route.