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
|
# (optional) Notification Topics
|
||||||
# Defaults to $facts['os_service_default']
|
# 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*]
|
# [*purge_config*]
|
||||||
# (optional) Whether to set only the specified config options
|
# (optional) Whether to set only the specified config options
|
||||||
# in the designate config.
|
# in the designate config.
|
||||||
@ -199,6 +204,7 @@ class designate(
|
|||||||
$notification_driver = $facts['os_service_default'],
|
$notification_driver = $facts['os_service_default'],
|
||||||
$notification_transport_url = $facts['os_service_default'],
|
$notification_transport_url = $facts['os_service_default'],
|
||||||
$notification_topics = $facts['os_service_default'],
|
$notification_topics = $facts['os_service_default'],
|
||||||
|
$notification_retry = $facts['os_service_default'],
|
||||||
Boolean $purge_config = false,
|
Boolean $purge_config = false,
|
||||||
$amqp_durable_queues = $facts['os_service_default'],
|
$amqp_durable_queues = $facts['os_service_default'],
|
||||||
$default_ttl = $facts['os_service_default'],
|
$default_ttl = $facts['os_service_default'],
|
||||||
@ -250,6 +256,7 @@ class designate(
|
|||||||
driver => $notification_driver,
|
driver => $notification_driver,
|
||||||
transport_url => $notification_transport_url,
|
transport_url => $notification_transport_url,
|
||||||
topics => $notification_topics,
|
topics => $notification_topics,
|
||||||
|
retry => $notification_retry,
|
||||||
}
|
}
|
||||||
|
|
||||||
# default setting
|
# 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(
|
is_expected.to contain_oslo__messaging__notifications('designate_config').with(
|
||||||
:driver => '<SERVICE DEFAULT>',
|
:driver => '<SERVICE DEFAULT>',
|
||||||
:transport_url => '<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(
|
is_expected.to contain_oslo__messaging__rabbit('designate_config').with(
|
||||||
:kombu_ssl_version => '<SERVICE DEFAULT>',
|
:kombu_ssl_version => '<SERVICE DEFAULT>',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user