diff --git a/defaults/main.yml b/defaults/main.yml index 5445dc6..3c34158 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -16,6 +16,9 @@ ## Verbosity Options debug: False +# Enable/Disable Ceilometer +designate_ceilometer_enabled: False + # Set the host which will execute the shade modules # for the service setup. The host must already have # clouds.yaml properly configured. diff --git a/templates/designate.conf.j2 b/templates/designate.conf.j2 index cae96a3..20cea70 100644 --- a/templates/designate.conf.j2 +++ b/templates/designate.conf.j2 @@ -33,6 +33,7 @@ rabbit_notification_exchange = designate rabbit_notification_topic = notifications [oslo_messaging_notifications] +driver = {% if designate_ceilometer_enabled %}messagingv2{% else %}noop{% endif %} 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 %} ########################