~junaidali/charms/trusty/plumgrid-director/pg-restart

« back to all changes in this revision

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

  • Committer: bbaqar at plumgrid
  • Date: 2015-07-29 18:07:31 UTC
  • Revision ID: bbaqar@plumgrid.com-20150729180731-ioynar8x3u5pxytc
Addressed reviews by Charmers

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