Browse Source

Merge "Correct notification driver"

Zuul 2 months ago
parent
commit
0e922fcf55
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/designate.conf.j2

+ 1
- 1
templates/designate.conf.j2 View File

@@ -33,7 +33,7 @@ rabbit_notification_exchange = designate
33 33
 rabbit_notification_topic = notifications
34 34
 
35 35
 [oslo_messaging_notifications]
36
-driver = {% if designate_ceilometer_enabled %}messagingv2{% else %}noop{% endif %}
36
+driver = {{ (designate_ceilometer_enabled | bool) | ternary('messagingv2', 'noop') }}
37 37
 transport_url = {{ designate_oslomsg_notify_transport }}://{% for host in designate_oslomsg_notify_servers.split(',') %}{{ designate_oslomsg_notify_userid }}:{{ designate_oslomsg_notify_password }}@{{ host }}:{{ designate_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ designate_oslomsg_notify_vhost }}{% if designate_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
38 38
 
39 39
 ########################

Loading…
Cancel
Save