Expose parameter to customize [oslo_messaging_notifications] retry
The parameter has been managed by puppet-oslo, but its value could not be set via this module. Change-Id: Ia5d586d36f85627d961b26d9374af3b1bb275b47
This commit is contained in:
parent
90bf5ed359
commit
f7e4f73fde
@ -151,6 +151,11 @@
|
||||
# (optional) Notification Topics
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*notification_retry*]
|
||||
# (Optional) The maximum number of attempts to re-sent a notification
|
||||
# message, which failed to be delivered due to a recoverable error.
|
||||
# Defaults to $facts['os_service_default'].
|
||||
#
|
||||
# [*purge_config*]
|
||||
# (optional) Whether to set only the specified config options
|
||||
# in the designate config.
|
||||
@ -199,6 +204,7 @@ class designate(
|
||||
$notification_driver = $facts['os_service_default'],
|
||||
$notification_transport_url = $facts['os_service_default'],
|
||||
$notification_topics = $facts['os_service_default'],
|
||||
$notification_retry = $facts['os_service_default'],
|
||||
Boolean $purge_config = false,
|
||||
$amqp_durable_queues = $facts['os_service_default'],
|
||||
$default_ttl = $facts['os_service_default'],
|
||||
@ -250,6 +256,7 @@ class designate(
|
||||
driver => $notification_driver,
|
||||
transport_url => $notification_transport_url,
|
||||
topics => $notification_topics,
|
||||
retry => $notification_retry,
|
||||
}
|
||||
|
||||
# default setting
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``designate::notification_retry`` parameter has been added.
|
@ -104,7 +104,8 @@ describe 'designate' do
|
||||
is_expected.to contain_oslo__messaging__notifications('designate_config').with(
|
||||
:driver => '<SERVICE DEFAULT>',
|
||||
:transport_url => '<SERVICE DEFAULT>',
|
||||
:topics => '<SERVICE DEFAULT>'
|
||||
:topics => '<SERVICE DEFAULT>',
|
||||
:retry => '<SERVICE DEFAULT>',
|
||||
)
|
||||
is_expected.to contain_oslo__messaging__rabbit('designate_config').with(
|
||||
:kombu_ssl_version => '<SERVICE DEFAULT>',
|
||||
|
Loading…
Reference in New Issue
Block a user