Ensure [DEFAULT] auth_strategy is set
This change ensures the [DEFAULT] auth_strategy is set. Otherwise setting the parameter to non-default value doesn't take any effect. Change-Id: I3fddb08c83dc6bbf10d395c8601e9982de79954f
This commit is contained in:
parent
665059a6c3
commit
caec9bd63e
|
@ -55,9 +55,10 @@ class tacker::server(
|
|||
})
|
||||
|
||||
tacker_config {
|
||||
'DEFAULT/bind_host' : value => $bind_host;
|
||||
'DEFAULT/bind_port' : value => $bind_port;
|
||||
'DEFAULT/api_workers': value => $api_workers;
|
||||
'DEFAULT/auth_strategy': value => $auth_strategy;
|
||||
'DEFAULT/bind_host': value => $bind_host;
|
||||
'DEFAULT/bind_port': value => $bind_port;
|
||||
'DEFAULT/api_workers': value => $api_workers;
|
||||
}
|
||||
|
||||
if $manage_service {
|
||||
|
|
|
@ -24,6 +24,7 @@ describe 'tacker::server' do
|
|||
it { is_expected.to contain_class('tacker::policy') }
|
||||
|
||||
it 'configures api' do
|
||||
is_expected.to contain_tacker_config('DEFAULT/auth_strategy').with_value('keystone')
|
||||
is_expected.to contain_tacker_config('DEFAULT/bind_host').with_value( params[:bind_host] )
|
||||
is_expected.to contain_tacker_config('DEFAULT/bind_port').with_value( params[:bind_port] )
|
||||
is_expected.to contain_tacker_config('DEFAULT/api_workers').with_value(4)
|
||||
|
|
Loading…
Reference in New Issue