summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@pki.usersys.redhat.com>2016-04-27 15:26:36 -0600
committerMatthew Harmsen <mharmsen@pki.usersys.redhat.com>2016-04-28 12:49:24 -0600
commit572880de1ed731c662e097f1fd4e6648b511b780 (patch)
tree39f35f125bfd66d7ec65f1133caca10cbeeb12e2
parentfbea6ffbb974ee5883795e3d9e72c211a08083a0 (diff)
downloadpki-572880de1ed731c662e097f1fd4e6648b511b780.zip
pki-572880de1ed731c662e097f1fd4e6648b511b780.tar.gz
pki-572880de1ed731c662e097f1fd4e6648b511b780.tar.xz
Fixed incorrect clone installation summary
- PKI TRAC Ticket #856 - Incorrect clone installation summary
-rwxr-xr-xbase/server/sbin/pkispawn6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/server/sbin/pkispawn b/base/server/sbin/pkispawn
index 21333e7..fa14d49 100755
--- a/base/server/sbin/pkispawn
+++ b/base/server/sbin/pkispawn
@@ -705,8 +705,14 @@ def print_install_information(mdict):
print()
print(" Administrator's certificate nickname:\n %s"
% mdict['pki_admin_nickname'])
+ if not config.str2bool(mdict['pki_clone']):
print(" Administrator's certificate database:\n %s"
% mdict['pki_client_database_dir'])
+ else:
+ print()
+ print(" This %s subsystem of the '%s' instance\n"
+ " is a clone." %
+ (config.pki_subsystem, mdict['pki_instance_name']))
print(log.PKI_CHECK_STATUS_MESSAGE % mdict['pki_instance_name'])
print(log.PKI_INSTANCE_RESTART_MESSAGE % mdict['pki_instance_name'])
if (((config.pki_subsystem == "KRA" or