Expose executor_thread_pool_size
This option has been supported by puppet-oslo but has not been configurable. Change-Id: Iec33f81eca912e07d5864bf6f923ac7c09dc530c
This commit is contained in:
parent
5e89485f5d
commit
35f8d7bd98
|
@ -40,6 +40,10 @@
|
||||||
# option.
|
# option.
|
||||||
# Defaults to $facts['os_service_default']
|
# Defaults to $facts['os_service_default']
|
||||||
#
|
#
|
||||||
|
# [*executor_thread_pool_size*]
|
||||||
|
# (Optional) Size of executor thread pool when executor is threading or eventlet.
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
|
#
|
||||||
# [*notification_transport_url*]
|
# [*notification_transport_url*]
|
||||||
# (optional) Connection url for oslo messaging notification backend. An
|
# (optional) Connection url for oslo messaging notification backend. An
|
||||||
# example rabbit url would be, rabbit://user:pass@host:port/virtual_host
|
# example rabbit url would be, rabbit://user:pass@host:port/virtual_host
|
||||||
|
@ -138,6 +142,7 @@ class designate(
|
||||||
$default_transport_url = $facts['os_service_default'],
|
$default_transport_url = $facts['os_service_default'],
|
||||||
$rpc_response_timeout = $facts['os_service_default'],
|
$rpc_response_timeout = $facts['os_service_default'],
|
||||||
$control_exchange = $facts['os_service_default'],
|
$control_exchange = $facts['os_service_default'],
|
||||||
|
$executor_thread_pool_size = $facts['os_service_default'],
|
||||||
$notification_topics = $facts['os_service_default'],
|
$notification_topics = $facts['os_service_default'],
|
||||||
$purge_config = false,
|
$purge_config = false,
|
||||||
$amqp_durable_queues = $facts['os_service_default'],
|
$amqp_durable_queues = $facts['os_service_default'],
|
||||||
|
@ -171,9 +176,10 @@ class designate(
|
||||||
}
|
}
|
||||||
|
|
||||||
oslo::messaging::default { 'designate_config':
|
oslo::messaging::default { 'designate_config':
|
||||||
transport_url => $default_transport_url,
|
executor_thread_pool_size => $executor_thread_pool_size,
|
||||||
rpc_response_timeout => $rpc_response_timeout,
|
transport_url => $default_transport_url,
|
||||||
control_exchange => $control_exchange,
|
rpc_response_timeout => $rpc_response_timeout,
|
||||||
|
control_exchange => $control_exchange,
|
||||||
}
|
}
|
||||||
|
|
||||||
oslo::messaging::notifications { 'designate_config':
|
oslo::messaging::notifications { 'designate_config':
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The new ``designate::executor_thread_pool_size`` parameter has been added.
|
|
@ -96,9 +96,10 @@ describe 'designate' do
|
||||||
|
|
||||||
it 'configures messaging' do
|
it 'configures messaging' do
|
||||||
is_expected.to contain_oslo__messaging__default('designate_config').with(
|
is_expected.to contain_oslo__messaging__default('designate_config').with(
|
||||||
:transport_url => '<SERVICE DEFAULT>',
|
:executor_thread_pool_size => '<SERVICE DEFAULT>',
|
||||||
:rpc_response_timeout => '<SERVICE DEFAULT>',
|
:transport_url => '<SERVICE DEFAULT>',
|
||||||
:control_exchange => '<SERVICE DEFAULT>'
|
:rpc_response_timeout => '<SERVICE DEFAULT>',
|
||||||
|
:control_exchange => '<SERVICE DEFAULT>'
|
||||||
)
|
)
|
||||||
is_expected.to contain_oslo__messaging__notifications('designate_config').with(
|
is_expected.to contain_oslo__messaging__notifications('designate_config').with(
|
||||||
:driver => 'messaging',
|
:driver => 'messaging',
|
||||||
|
|
Loading…
Reference in New Issue