Merge "Add support for the keystone_authtoken/service_type parameter"
This commit is contained in:
@@ -49,6 +49,7 @@ describe 'octavia::keystone::authtoken' do
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/token_cache_time').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/service_token_roles').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/service_token_roles_required').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/service_type').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/interface').with_value('<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
@@ -90,6 +91,7 @@ describe 'octavia::keystone::authtoken' do
|
||||
:token_cache_time => '301',
|
||||
:service_token_roles => ['service'],
|
||||
:service_token_roles_required => false,
|
||||
:service_type => 'identity',
|
||||
:interface => 'internal',
|
||||
})
|
||||
end
|
||||
@@ -128,6 +130,7 @@ describe 'octavia::keystone::authtoken' do
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/token_cache_time').with_value(params[:token_cache_time])
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/service_token_roles').with_value(params[:service_token_roles])
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/service_token_roles_required').with_value(params[:service_token_roles_required])
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/service_type').with_value(params[:service_type])
|
||||
is_expected.to contain_octavia_config('keystone_authtoken/interface').with_value(params[:interface])
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user