~landscape/charms/trusty/neutron-api-leadership-election/trunk

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/templates/haproxy.cfg

  • Committer: Corey Bryant
  • Date: 2014-12-19 20:56:17 UTC
  • mfrom: (66.1.1 neutron-api)
  • Revision ID: corey.bryant@canonical.com-20141219205617-51u58bw2lo775tjo
[hopem,r=gnuoy] Sync charm-helpers to get fix for precise haproxy IPv6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
{% for service, ports in service_ports.items() -%}
39
39
frontend tcp-in_{{ service }}
40
40
    bind *:{{ ports[0] }}
 
41
    {% if ipv6 -%}
41
42
    bind :::{{ ports[0] }}
 
43
    {% endif -%}
42
44
    {% for frontend in frontends -%}
43
45
    acl net_{{ frontend }} dst {{ frontends[frontend]['network'] }}
44
46
    use_backend {{ service }}_{{ frontend }} if net_{{ frontend }}