mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 07:03:39 -06:00
Fix a copy/paste issue when detecting the HSM SELinux subpackage
I made a mistake when trying to detect which HSM is being used to ensure that the appropriate SELinux subpackage is installed. Fixes: https://pagure.io/freeipa/issue/9636 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
parent
9f88188204
commit
fdd471d55c
@ -265,7 +265,7 @@ def hsm_validator(token_name, token_library, token_password):
|
||||
if 'nfast' in token_library:
|
||||
module = 'ipa-selinux-nfast'
|
||||
elif 'luna' in token_library:
|
||||
module = 'ipa-selinux-nfast'
|
||||
module = 'ipa-selinux-luna'
|
||||
else:
|
||||
module = None
|
||||
if module:
|
||||
|
Loading…
Reference in New Issue
Block a user