summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2015-06-30 22:05:44 +0200
committerTomas Babej <tbabej@redhat.com>2015-07-07 08:37:15 +0200
commit8ee975b276d0728130a148b01f9bfc0b77524ae0 (patch)
treefe45ec08d334a3fa27012ee5e4ffd5bcfdecf96d
parentc0271b9c87d175398ccc89a7e044a4460cee5bc6 (diff)
downloadfreeipa-8ee975b276d0728130a148b01f9bfc0b77524ae0.tar.gz
freeipa-8ee975b276d0728130a148b01f9bfc0b77524ae0.tar.xz
freeipa-8ee975b276d0728130a148b01f9bfc0b77524ae0.zip
DNSSEC: Detect attempt to install & disable master at the same time.
https://fedorahosted.org/freeipa/ticket/4657 Reviewed-By: Petr Spacek <pspacek@redhat.com>
-rwxr-xr-xinstall/tools/ipa-dns-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install
index d82799201..3fcda04e7 100755
--- a/install/tools/ipa-dns-install
+++ b/install/tools/ipa-dns-install
@@ -74,6 +74,10 @@ def parse_options():
options, args = parser.parse_args()
safe_options = parser.get_safe_opts(options)
+ if options.dnssec_master and options.disable_dnssec_master:
+ parser.error("Invalid combination of parameters: --dnssec-master and "
+ "--disable-dnssec-master")
+
if options.forwarders and options.no_forwarders:
parser.error("You cannot specify a --forwarder option together with --no-forwarders")
elif options.reverse_zones and options.no_reverse: