projects
/
puppet_haproxy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
42d0e060ed5b928bdfcf853fcb2c6007d4f4c0cd
[puppet_haproxy.git]
/
templates
/
haproxy_config_block.erb
1
2
listen <%= name %> <%= virtual_ip %>:<%= Array(ports).join(",#{virtual_ip}:") %>
3
<% haproxy_config_options.sort.each do |key, val| -%>
4
<% if val.is_a?(Array) -%>
5
<% val.each do |item| -%>
6
<%= key %> <%= item %>
7
<% end -%>
8
<% else -%>
9
<%= key %> <%= val %>
10
<% end -%>
11
<% end -%>