~bbaqar/charms/trusty/plumgrid-edge/charmstore-sync

« back to all changes in this revision

Viewing changes to templates/parts/rabbitmq

  • Committer: bbaqar at plumgrid
  • Date: 2015-05-19 21:06:18 UTC
  • Revision ID: bbaqar@plumgrid.com-20150519210618-lfe60xds38e9fyy8
PLUMgrid edge initial charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% if rabbitmq_host or rabbitmq_hosts -%}
 
2
rabbit_userid = {{ rabbitmq_user }}
 
3
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
 
4
rabbit_password = {{ rabbitmq_password }}
 
5
{% if rabbitmq_hosts -%}
 
6
rabbit_hosts = {{ rabbitmq_hosts }}
 
7
{% if rabbitmq_ha_queues -%}
 
8
rabbit_ha_queues = True
 
9
rabbit_durable_queues = False
 
10
{% endif -%}
 
11
{% else -%}
 
12
rabbit_host = {{ rabbitmq_host }}
 
13
{% endif -%}
 
14
{% if rabbit_ssl_port -%}
 
15
rabbit_use_ssl = True
 
16
rabbit_port = {{ rabbit_ssl_port }}
 
17
{% if rabbit_ssl_ca -%}
 
18
kombu_ssl_ca_certs = {{ rabbit_ssl_ca }}
 
19
{% endif -%}
 
20
{% endif -%}
 
21
{% endif -%}