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

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/templates/section-rabbitmq-oslo

  • 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 rabbitmq_host or rabbitmq_hosts -%}
2
 
[oslo_messaging_rabbit]
3
 
rabbit_userid = {{ rabbitmq_user }}
4
 
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
5
 
rabbit_password = {{ rabbitmq_password }}
6
 
{% if rabbitmq_hosts -%}
7
 
rabbit_hosts = {{ rabbitmq_hosts }}
8
 
{% if rabbitmq_ha_queues -%}
9
 
rabbit_ha_queues = True
10
 
rabbit_durable_queues = False
11
 
{% endif -%}
12
 
{% else -%}
13
 
rabbit_host = {{ rabbitmq_host }}
14
 
{% endif -%}
15
 
{% if rabbit_ssl_port -%}
16
 
rabbit_use_ssl = True
17
 
rabbit_port = {{ rabbit_ssl_port }}
18
 
{% if rabbit_ssl_ca -%}
19
 
kombu_ssl_ca_certs = {{ rabbit_ssl_ca }}
20
 
{% endif -%}
21
 
{% endif -%}
22
 
{% endif -%}