~le-charmers/charms/trusty/rabbitmq-server/leadership-election

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/templates/section-zeromq

  • Committer: Liam Young
  • Date: 2015-05-11 08:03:57 UTC
  • mfrom: (83.1.14 rabbitmq-server)
  • Revision ID: liam.young@canonical.com-20150511080357-3ftop9kxb6o0e3mq
Merged trunk in + LE charmhelper sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% if zmq_host -%}
 
2
# ZeroMQ configuration (restart-nonce: {{ zmq_nonce }})
 
3
rpc_backend = zmq
 
4
rpc_zmq_host = {{ zmq_host }}
 
5
{% if zmq_redis_address -%}
 
6
rpc_zmq_matchmaker = redis
 
7
matchmaker_heartbeat_freq = 15
 
8
matchmaker_heartbeat_ttl = 30
 
9
[matchmaker_redis]
 
10
host = {{ zmq_redis_address }}
 
11
{% else -%}
 
12
rpc_zmq_matchmaker = ring
 
13
{% endif -%}
 
14
{% endif -%}