summaryrefslogtreecommitdiff
path: root/templates/haproxy_balancermember.erb
blob: fca4f0bae549f7b8bdcf1ca8d86796e618f1b63a (plain)
1
2
3
4
5
<% for @ip,@host in Array(@balancer_ip).zip(Array(@server_name)) %>  server  <%= @host %> <%= @ip %>:<%= balancer_port %> <%
    items = balancermember_options
    items = [items] unless balancermember_options.instance_of? Array
    items.each do |item| %> <%= item %><% end %>
<% end %>