ipa-server-install: do not perform forwarder validation with --no-dnssec-validation

ipa-server-install is checking if the forwarder(s) specified with
--forwarder argument support DNSSEC. When the --no-dnssec-validation
option is added, the installer should not perform the check.

Fixes: https://pagure.io/freeipa/issue/7666
Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2018-08-31 10:09:15 +02:00 committed by Tibor Dudlák
parent 59df37ad9b
commit 911416e43d
No known key found for this signature in database
GPG Key ID: 12B8BD343576CDF5

View File

@ -292,8 +292,8 @@ def install_check(standalone, api, replica, options, hostname):
# test DNSSEC forwarders # test DNSSEC forwarders
if options.forwarders: if options.forwarders:
if (not bindinstance.check_forwarders(options.forwarders) if not options.no_dnssec_validation \
and not options.no_dnssec_validation): and not bindinstance.check_forwarders(options.forwarders):
options.no_dnssec_validation = True options.no_dnssec_validation = True
print("WARNING: DNSSEC validation will be disabled") print("WARNING: DNSSEC validation will be disabled")