summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-11-10 10:28:20 +0000
committerGerrit Code Review <review@openstack.org>2018-11-10 10:28:20 +0000
commit7fde8d74cbc90aa5dba9c3c4ce4a7d9babd69490 (patch)
tree2ed3dd4d813c3db6fff23b2558de1e0a75a7b736
parent3022704d39812853249d2aaed35f0e189ddf5c94 (diff)
parent56dc20030b9c391a921d5fdbad014f07313a4cc6 (diff)
Merge "Update messaging notification configuration"
-rw-r--r--defaults/main.yml3
-rw-r--r--templates/tacker.conf.j21
2 files changed, 4 insertions, 0 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 1e64baa..d032db7 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -19,6 +19,9 @@
19## Verbosity Options 19## Verbosity Options
20debug: False 20debug: False
21 21
22# Enable/Disable Ceilometer
23tacker_ceilometer_enabled: False
24
22# Set the host which will execute the shade modules 25# Set the host which will execute the shade modules
23# for the service setup. The host must already have 26# for the service setup. The host must already have
24# clouds.yaml properly configured. 27# clouds.yaml properly configured.
diff --git a/templates/tacker.conf.j2 b/templates/tacker.conf.j2
index 892b367..22f2297 100644
--- a/templates/tacker.conf.j2
+++ b/templates/tacker.conf.j2
@@ -110,4 +110,5 @@ openstack = {{ tacker_etc_dir }}/vim/fernet_keys
110ssl = {{ tacker_oslomsg_notify_use_ssl | bool }} 110ssl = {{ tacker_oslomsg_notify_use_ssl | bool }}
111 111
112[oslo_messaging_notifications] 112[oslo_messaging_notifications]
113driver = {% if tacker_ceilometer_enabled %}messagingv2{% else %}noop{% endif %}
113transport_url = {{ tacker_oslomsg_notify_transport }}://{% for host in tacker_oslomsg_notify_servers.split(',') %}{{ tacker_oslomsg_notify_userid }}:{{ tacker_oslomsg_notify_password }}@{{ host }}:{{ tacker_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ tacker_oslomsg_notify_vhost }}{% if (tacker_oslomsg_notify_use_ssl | lower) | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %} 114transport_url = {{ tacker_oslomsg_notify_transport }}://{% for host in tacker_oslomsg_notify_servers.split(',') %}{{ tacker_oslomsg_notify_userid }}:{{ tacker_oslomsg_notify_password }}@{{ host }}:{{ tacker_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ tacker_oslomsg_notify_vhost }}{% if (tacker_oslomsg_notify_use_ssl | lower) | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}