diff options
author | Jan Cholasta <jcholast@redhat.com> | 2014-10-22 11:18:35 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-10-22 14:20:27 +0200 |
commit | 50e66337340ae8f9c243658b58409de4e911d1c4 (patch) | |
tree | 50db054cad1ef3b225d755e18b7dc5765d13e2e8 /install | |
parent | 09808c92c001ba8a6d5705e719d63430eeeb3ecb (diff) | |
download | freeipa-50e66337340ae8f9c243658b58409de4e911d1c4.tar.gz freeipa-50e66337340ae8f9c243658b58409de4e911d1c4.tar.xz freeipa-50e66337340ae8f9c243658b58409de4e911d1c4.zip |
Do not check if port 8443 is available in step 2 of external CA install
The port is never available in step 2 of external CA install, as Dogtag is
already running.
https://fedorahosted.org/freeipa/ticket/4660
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'install')
-rwxr-xr-x | install/tools/ipa-ca-install | 3 | ||||
-rwxr-xr-x | install/tools/ipa-server-install | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/install/tools/ipa-ca-install b/install/tools/ipa-ca-install index 3934b0372..6f8ff880b 100755 --- a/install/tools/ipa-ca-install +++ b/install/tools/ipa-ca-install @@ -280,7 +280,8 @@ def install_master(safe_options, options): domain_name = api.env.domain host_name = api.env.host - check_ca() + if external != 2: + check_ca() dirname = dsinstance.config_dirname( dsinstance.realm_to_serverid(realm_name)) diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index 3ffd3b981..70ef38610 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -884,10 +884,11 @@ def main(): # Make sure the 389-ds ports are available check_dirsrv(options.unattended) - if setup_ca: - if not cainstance.check_port(): - print "IPA requires port 8443 for PKI but it is currently in use." - sys.exit("Aborting installation") + if setup_ca: + if not cainstance.check_port(): + print ("IPA requires port 8443 for PKI but it is currently in " + "use.") + sys.exit("Aborting installation") if options.conf_ntp: try: |