server install: do not restart httpd during CA install

At this point, httpd is not configured and the restart fails.

https://fedorahosted.org/freeipa/ticket/6392

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Jan Cholasta committed 2016-11-11 12:13:56 +01:00
1 parent 31a9ef4f8b
commit 2dedfe5d33
1 file changed
+3 -2
+3 -2
View File
@@ -245,8 +245,9 @@ def install_step_1(standalone, replica_config, options):
ca.start('pki-tomcat')
# We need to restart apache as we drop a new config file in there
services.knownservices.httpd.restart(capture_output=True)
if standalone or replica_config is not None:
# We need to restart apache as we drop a new config file in there
services.knownservices.httpd.restart(capture_output=True)
if standalone:
# Install CA DNS records