aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nova/templates/nova.conf.j2
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-15 16:15:20 +0000
committerGerrit Code Review <review@openstack.org>2016-11-15 16:15:20 +0000
commitc51cf93efd2c03e9582290af42fd82ef9cccf976 (patch)
treec7433daf6168c97b6e9fe4bb0f287d71694cc15d /ansible/roles/nova/templates/nova.conf.j2
parent870616f8858556e4dc5abb3838259d12c14e0263 (diff)
parent2a3df8db327f61273fa9e973d297f19b3740c0e0 (diff)
downloadkolla-c51cf93efd2c03e9582290af42fd82ef9cccf976.tar.gz
kolla-c51cf93efd2c03e9582290af42fd82ef9cccf976.zip
Merge "Ansible-ize OpenStack Designate"
Diffstat (limited to 'ansible/roles/nova/templates/nova.conf.j2')
-rw-r--r--ansible/roles/nova/templates/nova.conf.j25
1 files changed, 3 insertions, 2 deletions
diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2
index 6706d16e9..a64565fc9 100644
--- a/ansible/roles/nova/templates/nova.conf.j2
+++ b/ansible/roles/nova/templates/nova.conf.j2
@@ -187,9 +187,10 @@ rbd_secret_uuid = {{ rbd_secret_uuid }}
compute = auto
[oslo_messaging_notifications]
-{% if enable_ceilometer | bool %}
+{% if enable_ceilometer | bool or enable_designate | bool %}
driver = messagingv2
-topics = notifications
+{% set topics=["notifications" if enable_ceilometer|bool else "", "notifications_designate" if enable_designate|bool else ""] %}
+topcis = {{ topics|reject("equalto", "")|list|join(",") }}
{% else %}
driver = noop
{% endif %}