diff options
author | Micah Anderson <micah@riseup.net> | 2013-02-25 15:31:04 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-02-25 15:31:04 -0500 |
commit | 446913b18239a475586f29a1856e8ad1039c6a7e (patch) | |
tree | 2a723aa88fb20a655184530656f048038cab1422 | |
parent | 1396a9ebeb26fd3fa0635dbc6c51537d23c14fd9 (diff) |
add missing mode in listen template
-rw-r--r-- | templates/haproxy_listen_block.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/haproxy_listen_block.erb b/templates/haproxy_listen_block.erb index ede7db4..25c1e25 100644 --- a/templates/haproxy_listen_block.erb +++ b/templates/haproxy_listen_block.erb @@ -1,4 +1,5 @@ listen <%= name %> +mode <%= mode %> <% Array(ipaddress).uniq.each do |virtual_ip| (ports.is_a?(Array) ? ports : Array(ports.split(","))).each do |port| %> bind <%= virtual_ip %>:<%= port %> <% end end %> |