Designate: Enable notifications
The designate services support notifications using the oslo.messaging library. This enables notification from the designate services to test configurations required for it. Change-Id: I5c1de2523fa64b5268659c0e84874fc2898b26a3
This commit is contained in:
parent
b286d250b6
commit
10aa12f88e
@ -1,7 +1,12 @@
|
||||
# Configure the Designate service
|
||||
#
|
||||
|
||||
class openstack_integration::designate {
|
||||
# [*notification_topics*]
|
||||
# (optional) AMQP topic used for OpenStack notifications
|
||||
# Defaults to $facts['os_service_default'].
|
||||
#
|
||||
class openstack_integration::designate (
|
||||
$notification_topics = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include openstack_integration::config
|
||||
include openstack_integration::params
|
||||
@ -37,7 +42,16 @@ class openstack_integration::designate {
|
||||
'username' => 'designate',
|
||||
'password' => 'an_even_bigger_secret',
|
||||
}),
|
||||
notification_transport_url => os_transport_url({
|
||||
'transport' => $::openstack_integration::config::messaging_notify_proto,
|
||||
'host' => $::openstack_integration::config::host,
|
||||
'port' => $::openstack_integration::config::messaging_notify_port,
|
||||
'username' => 'designate',
|
||||
'password' => 'an_even_bigger_secret',
|
||||
}),
|
||||
rabbit_use_ssl => $::openstack_integration::config::ssl,
|
||||
notification_topics => $notification_topics,
|
||||
notification_driver => 'messagingv2',
|
||||
}
|
||||
class { 'designate::db':
|
||||
database_connection => os_database_connection({
|
||||
|
Loading…
x
Reference in New Issue
Block a user