tidy, update grizzly template

This commit is contained in:
James Page 2014-03-27 21:15:18 +00:00
parent 50a69751aa
commit 118ea2b600
3 changed files with 13 additions and 4 deletions

View File

@ -1,5 +1,6 @@
[DEFAULT]
verbose = True
{% if rabbitmq_host or rabbitmq_hosts -%}
rabbit_userid = {{ rabbitmq_user }}
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
@ -9,11 +10,19 @@ rabbit_hosts = {{ rabbitmq_hosts }}
{% if rabbitmq_ha_queues -%}
rabbit_ha_queues = true
rabbit_durable_queues = false
{% endif %}
{% else %}
{% endif -%}
{% else -%}
rabbit_host = {{ rabbitmq_host }}
{% endif -%}
{% if rabbit_ssl_port -%}
rabbit_use_ssl=True
rabbit_port={{ rabbit_ssl_port }}
{% if rabbit_ssl_ca -%}
kombu_ssl_ca_certs={{rabbit_ssl_ca}}
{% endif -%}
{% endif -%}
{% endif -%}
debug = True
bind_host = 0.0.0.0
bind_port = 9696

View File

@ -11,7 +11,7 @@ rabbit_hosts = {{ rabbitmq_hosts }}
rabbit_ha_queues = true
rabbit_durable_queues = false
{% endif -%}
{% else %}
{% else -%}
rabbit_host = {{ rabbitmq_host }}
{% endif -%}
{% if rabbit_ssl_port -%}

View File

@ -14,7 +14,7 @@ rabbit_hosts = {{ rabbitmq_hosts }}
rabbit_ha_queues = true
rabbit_durable_queues = false
{% endif -%}
{% else %}
{% else -%}
rabbit_host = {{ rabbitmq_host }}
{% endif -%}
{% if rabbit_ssl_port -%}