Remove cleanup of [DEFAULT] bind_host and bind_port
The cleanup logic was added before 2023.1 release so we can assume these options are purged before a deployment is upgraded. Change-Id: If6949bb89b01104abe09515c6b93f7d7fed709d5
This commit is contained in:
parent
2f4fe1dac3
commit
7bcaae05f6
@ -319,11 +319,6 @@ class barbican::api (
|
|||||||
$host_href_real = $host_href
|
$host_href_real = $host_href
|
||||||
}
|
}
|
||||||
|
|
||||||
barbican_config {
|
|
||||||
'DEFAULT/bind_host': ensure => absent;
|
|
||||||
'DEFAULT/bind_port': ensure => absent;
|
|
||||||
}
|
|
||||||
|
|
||||||
barbican_config {
|
barbican_config {
|
||||||
'DEFAULT/host_href': value => $host_href_real;
|
'DEFAULT/host_href': value => $host_href_real;
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ describe 'barbican::api' do
|
|||||||
|
|
||||||
let :default_params do
|
let :default_params do
|
||||||
{
|
{
|
||||||
:bind_host => '0.0.0.0',
|
|
||||||
:bind_port => '9311',
|
|
||||||
:default_transport_url => '<SERVICE DEFAULT>',
|
:default_transport_url => '<SERVICE DEFAULT>',
|
||||||
:rpc_response_timeout => '<SERVICE DEFAULT>',
|
:rpc_response_timeout => '<SERVICE DEFAULT>',
|
||||||
:control_exchange => '<SERVICE DEFAULT>',
|
:control_exchange => '<SERVICE DEFAULT>',
|
||||||
@ -77,8 +75,6 @@ describe 'barbican::api' do
|
|||||||
[
|
[
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
:bind_host => '127.0.0.1',
|
|
||||||
:bind_port => '9312',
|
|
||||||
:default_transport_url => 'rabbit://bugs:bugs_bunny@localhost:1234/rabbithost',
|
:default_transport_url => 'rabbit://bugs:bugs_bunny@localhost:1234/rabbithost',
|
||||||
:rpc_response_timeout => '120',
|
:rpc_response_timeout => '120',
|
||||||
:control_exchange => 'barbican',
|
:control_exchange => 'barbican',
|
||||||
|
Loading…
Reference in New Issue
Block a user