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-server-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-server-install')
-rwxr-xr-x | install/tools/ipa-server-install | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index fafa14ea1..06e99134e 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -207,16 +207,6 @@ def parse_options(): dns_group.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 - dns_group.add_option("--zone-notif", dest="zone_notif", - action="store_true", default=False, help=SUPPRESS_HELP) - dns_group.add_option("--no-persistent-search", dest="persistent_search", - default=True, action="store_false", - help="Do not enable persistent search feature in the name server") - dns_group.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") dns_group.add_option("--no-host-dns", dest="no_host_dns", action="store_true", default=False, help="Do not use DNS for hostname lookup during installation") @@ -326,18 +316,6 @@ def parse_options(): #Automatically disable pkinit w/ dogtag until that is supported options.setup_pkinit = False - 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.serial_autoincrement and not options.persistent_search: - parser.error('persistent search feature is required for ' - 'DNS SOA serial autoincrement') - - if options.zone_notif: - print >>sys.stderr, "WARNING: --zone-notif option is deprecated and has no effect" - return safe_options, options def signal_handler(signum, frame): @@ -1159,8 +1137,6 @@ def main(): bind = bindinstance.BindInstance(fstore, dm_password) bind.setup(host_name, ip_address, realm_name, domain_name, dns_forwarders, options.conf_ntp, reverse_zone, zonemgr=options.zonemgr, - zone_refresh=options.zone_refresh, - persistent_search=options.persistent_search, serial_autoincrement=options.serial_autoincrement, ca_configured=setup_ca) if options.setup_dns: |