~openstack-charmers/charms/precise/quantum-gateway/trunk

« back to all changes in this revision

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

  • Committer: james.page at ubuntu
  • Date: 2015-08-10 16:38:06 UTC
  • Revision ID: james.page@ubuntu.com-20150810163806-dccx0q0xxi6ddy2l
Tags: 15.07
[gnuoy] 15.07 Charm release

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 -%}