~openstack-charmers-archive/charms/trusty/cinder-ceph/next

« back to all changes in this revision

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

  • Committer: James Page
  • Date: 2016-01-19 15:00:17 UTC
  • mfrom: (50.2.1 cinder-ceph.next)
  • Revision ID: james.page@ubuntu.com-20160119150017-5g2yg1y6ro8qndhe
Tags: 16.01
[trivial] charm-helpers sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    timeout server 30000
34
34
{%- endif %}
35
35
 
36
 
listen stats {{ stat_port }}
 
36
listen stats
 
37
    bind {{ local_host }}:{{ stat_port }}
37
38
    mode http
38
39
    stats enable
39
40
    stats hide-version
40
41
    stats realm Haproxy\ Statistics
41
42
    stats uri /
42
 
    stats auth admin:password
 
43
    stats auth admin:{{ stat_password }}
43
44
 
44
45
{% if frontends -%}
45
46
{% for service, ports in service_ports.items() -%}