diff options
author | Zack Smith <acidprime@wallcity.org> | 2012-10-10 17:23:31 -0700 |
---|---|---|
committer | Zack Smith <acidprime@wallcity.org> | 2012-10-10 17:23:31 -0700 |
commit | f96656440027fbfc73bccf1911c817d7e4392713 (patch) | |
tree | 3bf833bcadad39e79d11b49f4cf122d00d5f7e59 /templates | |
parent | 2ecc40a69636000adcdf385a3f1991d36d695b9c (diff) | |
parent | b7c098f89d124946bbadb9002e423eac0ff736b1 (diff) |
Merge pull request #12 from hunner/rename_listen_ip
Change `virtual_ip` to `listen_ip`
Diffstat (limited to 'templates')
-rw-r--r-- | templates/haproxy_config_block.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/haproxy_config_block.erb b/templates/haproxy_config_block.erb index 526249f..9223140 100644 --- a/templates/haproxy_config_block.erb +++ b/templates/haproxy_config_block.erb @@ -1,5 +1,5 @@ -listen <%= name %> <%= virtual_ip %>:<%= Array(ports).join(",#{virtual_ip}:") %> +listen <%= name %> <%= listen_ip %>:<%= Array(ports).join(",#{listen_ip}:") %> <% config_options.sort.each do |key, val| -%> <% if val.is_a?(Array) -%> <% val.each do |item| -%> |