mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
Remove the <Interval> from opendnssec conf
In opendnssec 2.1.6, the <Interval> element is not supported in the configuration file. Related: https://pagure.io/freeipa/issue/8214 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
7ae1352c72
commit
c2e355ae59
@ -33,7 +33,7 @@
|
||||
</Privileges>
|
||||
|
||||
<Datastore><SQLite>$KASP_DB</SQLite></Datastore>
|
||||
<Interval>PT3600S</Interval>
|
||||
$INTERVAL
|
||||
<!-- <ManualKeyGeneration/> -->
|
||||
<!-- <RolloverNotification>P14D</RolloverNotification> -->
|
||||
|
||||
|
@ -179,6 +179,12 @@ class OpenDNSSECInstance(service.Service):
|
||||
# add pin to template
|
||||
sub_conf_dict = self.conf_file_dict
|
||||
sub_conf_dict['PIN'] = pin
|
||||
if paths.ODS_KSMUTIL is not None and os.path.exists(paths.ODS_KSMUTIL):
|
||||
# OpenDNSSEC 1.4
|
||||
sub_conf_dict['INTERVAL'] = '<Interval>PT3600S</Interval>'
|
||||
else:
|
||||
# OpenDNSSEC 2.x
|
||||
sub_conf_dict['INTERVAL'] = '<!-- Interval not used in 2x -->'
|
||||
|
||||
ods_conf_txt = ipautil.template_file(
|
||||
os.path.join(paths.USR_SHARE_IPA_DIR, "opendnssec_conf.template"),
|
||||
|
Loading…
Reference in New Issue
Block a user