Merge "Ensure [mapped] remote_id_attribute is purged"

This commit is contained in:
Zuul 2023-08-16 11:57:13 +00:00 committed by Gerrit Code Review
commit 6484cce4e0
2 changed files with 5 additions and 0 deletions

View File

@ -66,6 +66,10 @@ Apache + Mellon SP setups, where a REMOTE_USER env variable is always set, even
keystone_config {
'mapped/remote_id_attribute': value => 'MELLON_IDP';
}
} else {
keystone_config {
'mapped/remote_id_attribute': ensure => absent;
}
}
concat::fragment { 'configure_mellon_keystone':

View File

@ -48,6 +48,7 @@ describe 'keystone::federation::mellon' do
it 'should have basic params for mellon in Keystone configuration' do
is_expected.to contain_keystone_config('auth/methods').with_value('password, token, saml2')
is_expected.to contain_keystone_config('mapped/remote_id_attribute').with_ensure('absent')
end
it { is_expected.to contain_concat__fragment('configure_mellon_keystone').with({