~thedac/charms/trusty/rabbitmq-server/backport-cluster-race-fixes

« back to all changes in this revision

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

  • Committer: james.page at ubuntu
  • Date: 2015-03-26 13:07:43 UTC
  • mfrom: (82.2.3 rabbitmq-server)
  • Revision ID: james.page@ubuntu.com-20150326130743-opg59sdo60s2lx6j
Merge in trunk charm changes

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 = oslo.messaging._drivers.matchmaker_redis.MatchMakerRedis
 
7
matchmaker_heartbeat_freq = 15
 
8
matchmaker_heartbeat_ttl = 30
 
9
[matchmaker_redis]
 
10
host = {{ zmq_redis_address }}
 
11
{% else -%}
 
12
rpc_zmq_matchmaker = oslo.messaging._drivers.matchmaker_ring.MatchMakerRing
 
13
{% endif -%}
 
14
{% endif -%}