puppet-neutron/templates/nexus_switch_port_mappings.erb

2 lines
171 B
Plaintext

<%- @servers.each_with_index do |(server, value), index| -%><%= value['hostname'] -%><%= ':' %>[<%= value['ports'] %>]<%= ',' if index < (@servers.size - 1) %><%- end -%>