diff options
author | Tomas Babej <tbabej@redhat.com> | 2013-08-09 11:55:49 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-08-09 12:14:42 +0200 |
commit | 69394bab5a279a07f596d529cfd01c858a48229c (patch) | |
tree | a0d2fa201ad428ea6009abcca249bbe517d6df88 /install/tools/ipa-dns-install | |
parent | 49a621a2572bc9cc8d640d10480c36795b4b17bb (diff) | |
download | freeipa-69394bab5a279a07f596d529cfd01c858a48229c.tar.gz freeipa-69394bab5a279a07f596d529cfd01c858a48229c.tar.xz freeipa-69394bab5a279a07f596d529cfd01c858a48229c.zip |
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
Diffstat (limited to 'install/tools/ipa-dns-install')
-rwxr-xr-x | install/tools/ipa-dns-install | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index 275e699eb..47acd8de6 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -52,16 +52,6 @@ def parse_options(): parser.add_option("--zonemgr", action="callback", callback=bindinstance.zonemgr_callback, type="string", help="DNS zone manager e-mail address. Defaults to hostmaster@DOMAIN") - # this option name has been deprecated, persistent search has been enabled by default - parser.add_option("--zone-notif", dest="zone_notif", - action="store_true", default=False, help=SUPPRESS_HELP) - parser.add_option("--no-persistent-search", dest="persistent_search", - default=True, action="store_false", - help="Do not enable persistent search feature in the name server") - parser.add_option("--zone-refresh", dest="zone_refresh", - default=0, type="int", - help="When set to non-zero the name server will use DNS zone " - "detection based on polling instead of a persistent search") parser.add_option("--no-serial-autoincrement", dest="serial_autoincrement", default=True, action="store_false", help="Do not enable SOA serial autoincrement") @@ -80,18 +70,6 @@ def parse_options(): if not options.forwarders and not options.no_forwarders: parser.error("You must specify at least one --forwarder option or --no-forwarders option") - if options.zone_refresh < 0: - parser.error("negative numbers not allowed for --zone-refresh") - elif options.zone_refresh > 0: - options.persistent_search = False # mutually exclusive features - - if options.zone_notif: - print >>sys.stderr, "WARNING: --zone-notif option is deprecated and has no effect" - - if options.serial_autoincrement and not options.persistent_search: - parser.error('persistent search feature is required for ' - 'DNS SOA serial autoincrement') - return safe_options, options def main(): @@ -232,8 +210,6 @@ def main(): bind.setup(api.env.host, ip_address, api.env.realm, api.env.domain, dns_forwarders, conf_ntp, reverse_zone, zonemgr=options.zonemgr, - zone_refresh=options.zone_refresh, - persistent_search=options.persistent_search, serial_autoincrement=options.serial_autoincrement) bind.create_instance() |