~ibm-charms/charms/trusty/nova-compute-power/trunk

« back to all changes in this revision

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

  • Committer: Edward Hope-Morley
  • Date: 2014-03-26 18:08:46 UTC
  • mfrom: (55.1.1 nova-compute.lp1273067)
  • Revision ID: edward.hope-morley@canonical.com-20140326180846-o2mo693uow2urlpj
[hopem] Added support for ceph-client logging to syslog

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
defaults
10
10
    log global
11
 
    mode http
12
 
    option httplog
 
11
    mode tcp
 
12
    option tcplog
13
13
    option dontlognull
14
14
    retries 3
15
15
    timeout queue 1000
29
29
{% for service, ports in service_ports.iteritems() -%}
30
30
listen {{ service }} 0.0.0.0:{{ ports[0] }}
31
31
    balance roundrobin
32
 
    option tcplog
33
32
    {% for unit, address in units.iteritems() -%}
34
33
    server {{ unit }} {{ address }}:{{ ports[1] }} check
35
34
    {% endfor %}