~openstack-charmers-archive/charms/trusty/nova-compute/next

« 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-03-30 14:28:12 UTC
  • mfrom: (108.1.4 nova-compute)
  • Revision ID: james.page@ubuntu.com-20150330142812-fhta4arnb5ji7sce
Add full kilo support

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