Merge "Add CADF event configurations in Keystone when enabled"

This commit is contained in:
Jenkins 2016-10-03 10:49:32 +00:00 committed by Gerrit Code Review
commit 74c508faa5

View File

@ -1,6 +1,6 @@
[DEFAULT]
debug = {{ keystone_logging_debug }}
{% if enable_cadf_notifications %}
{% if enable_cadf_notifications | bool %}
notification_format = cadf
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{% if orchestration_engine == 'KUBERNETES' %}rabbitmq{% else %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}{% endif %}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
{% endif %}
@ -44,7 +44,7 @@ memcache_servers = {{ memcached_servers }}
memcache_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
{%- endif %}
{% if enable_cadf_notifications %}
{% if enable_cadf_notifications | bool %}
[oslo_messaging_notifications]
driver = messagingv2
{% endif %}