~1chb1n/charms/trusty/cinder-ceph/next.1601-test-update2

« back to all changes in this revision

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

  • Committer: Liam Young
  • Date: 2015-04-16 10:29:35 UTC
  • Revision ID: liam.young@canonical.com-20150416102935-od0wokkgjl6ccu81
[gnuoy,trivial] Pre-release 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 -%}