From 69394bab5a279a07f596d529cfd01c858a48229c Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Fri, 9 Aug 2013 11:55:49 +0200 Subject: Remove support for IPA deployments with no persistent search Drops the code from ipa-server-install, ipa-dns-install and the BindInstance itself. Also changed ipa-upgradeconfig script so that it does not set zone_refresh to 0 on upgrades, as the option is deprecated. https://fedorahosted.org/freeipa/ticket/3632 --- ipalib/plugins/dns.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'ipalib/plugins/dns.py') diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 621d60ec..07523dc7 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -28,7 +28,8 @@ import dns.name from ipalib.request import context from ipalib import api, errors, output from ipalib import Command -from ipalib.parameters import Flag, Bool, Int, Decimal, Str, StrEnum, Any +from ipalib.parameters import (Flag, Bool, Int, Decimal, Str, StrEnum, Any, + DeprecatedParam) from ipalib.plugins.baseldap import * from ipalib import _, ngettext from ipalib.util import (validate_zonemgr, normalize_zonemgr, normalize_zone, @@ -2978,8 +2979,7 @@ class dnsconfig(LDAPObject): """ object_name = _('DNS configuration options') default_attributes = [ - 'idnsforwardpolicy', 'idnsforwarders', 'idnsallowsyncptr', - 'idnszonerefresh' + 'idnsforwardpolicy', 'idnsforwarders', 'idnsallowsyncptr' ] label = _('DNS Global Configuration') @@ -3006,11 +3006,9 @@ class dnsconfig(LDAPObject): label=_('Allow PTR sync'), doc=_('Allow synchronization of forward (A, AAAA) and reverse (PTR) records'), ), - Int('idnszonerefresh?', + DeprecatedParam('idnszonerefresh?', cli_name='zone_refresh', label=_('Zone refresh interval'), - doc=_('An interval between regular polls of the name server for new DNS zones'), - minvalue=0, ), ) -- cgit