mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix ca_initialize_hsm_state
Fixup for commit eb2313920e
.
configparser's set() method does not convert boolean to string
automatically. Use string '"False"', which is then interpreted as
boolean 'False' by getboolean().
Related: https://pagure.io/freeipa/issue/5608
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
c709f13171
commit
bebe09f3e4
@ -480,7 +480,7 @@ def ca_initialize_hsm_state(ca):
|
||||
section_name = ca.subsystem.upper()
|
||||
config = SafeConfigParser()
|
||||
config.add_section(section_name)
|
||||
config.set(section_name, 'pki_hsm_enable', False)
|
||||
config.set(section_name, 'pki_hsm_enable', 'False')
|
||||
ca.set_hsm_state(config)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user