[deprec] use @ in front of erb template tags
[puppet_haproxy.git] / templates / haproxy_balancermember.erb
1 <% Array(ipaddresses).zip(Array(server_names)).each do |ipaddress,host| -%>
2   server <%= host %> <%= ipaddress %>:<%= Array(ports).collect {|x|x.split(',')}.flatten.join(",#{ipaddress}:") %> <%= Array(options).join(" ") %>
3 <% end %>