DNSSEC: FIX Do not re-create kasp.db if already exists

Kasp should not be replaced by DNS reinstallation with new file.

https://fedorahosted.org/freeipa/ticket/4657

Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
Martin Basti 2015-05-14 16:34:25 +02:00 committed by Jan Cholasta
parent fbdfd688b9
commit ebd9146113

View File

@ -252,6 +252,7 @@ class OpenDNSSECInstance(service.Service):
# run once only
if self.get_state("KASP_DB_configured"):
root_logger.debug("Already configured, skipping step")
return
self.backup_state("KASP_DB_configured", True)