Add variable for keystone topics queue for barbican

Barbican keystone listener needs its own queue for keystone
notifications.

Change-Id: I3a81e109fcfe8ec8bb434ece7a7fd92f3642922c
This commit is contained in:
Ade Lee 2018-01-23 11:38:44 -05:00
parent 9fd33795b8
commit aa7c76329a
2 changed files with 11 additions and 1 deletions

View File

@ -125,6 +125,10 @@
# Notification topics that keystone should use for ceilometer to consume.
# Defaults to []
#
# [*barbican_notification_topics*]
# Notification topics that keystone should use for barbican to consume.
# Defaults to []
#
# [*extra_notification_topics*]
# Extra notification topics that keystone should produce.
# Defaults to []
@ -159,6 +163,7 @@ class tripleo::profile::base::keystone (
$oslomsg_notify_username = hiera('keystone::rabbit_userid', 'guest'),
$oslomsg_use_ssl = hiera('keystone::rabbit_use_ssl', '0'),
$ceilometer_notification_topics = [],
$barbican_notification_topics = [],
$extra_notification_topics = [],
$step = Integer(hiera('step')),
) {
@ -214,7 +219,9 @@ class tripleo::profile::base::keystone (
'password' => $oslomsg_notify_password,
'ssl' => $oslomsg_use_ssl_real,
}),
notification_topics => union($ceilometer_notification_topics, $extra_notification_topics)
notification_topics => union($ceilometer_notification_topics,
$barbican_notification_topics,
$extra_notification_topics)
}
if 'amqp' in [$oslomsg_rpc_proto, $oslomsg_notify_proto]{

View File

@ -0,0 +1,3 @@
---
features:
- Add keystone notification topic for barbican keystone listener to consume.