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
|
# Configure the Designate service
|
||||||
#
|
#
|
||||||
|
# [*notification_topics*]
|
||||||
class openstack_integration::designate {
|
# (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::config
|
||||||
include openstack_integration::params
|
include openstack_integration::params
|
||||||
@ -30,14 +35,23 @@ class openstack_integration::designate {
|
|||||||
debug => true,
|
debug => true,
|
||||||
}
|
}
|
||||||
class { 'designate':
|
class { 'designate':
|
||||||
default_transport_url => os_transport_url({
|
default_transport_url => os_transport_url({
|
||||||
'transport' => 'rabbit',
|
'transport' => 'rabbit',
|
||||||
'host' => $::openstack_integration::config::host,
|
'host' => $::openstack_integration::config::host,
|
||||||
'port' => $::openstack_integration::config::rabbit_port,
|
'port' => $::openstack_integration::config::rabbit_port,
|
||||||
'username' => 'designate',
|
'username' => 'designate',
|
||||||
'password' => 'an_even_bigger_secret',
|
'password' => 'an_even_bigger_secret',
|
||||||
}),
|
}),
|
||||||
rabbit_use_ssl => $::openstack_integration::config::ssl,
|
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':
|
class { 'designate::db':
|
||||||
database_connection => os_database_connection({
|
database_connection => os_database_connection({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user