summaryrefslogtreecommitdiffstats
path: root/base/server/python/pki/server/deployment/pkimessages.py
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2016-04-27 04:58:12 +0200
committerEndi S. Dewata <edewata@redhat.com>2016-04-30 00:19:39 +0200
commit6d37d95354b46846a055fcc8cdcf7f5f88ab729e (patch)
treec19dd83d6d737adf9bb629b498e3856e4a79430d /base/server/python/pki/server/deployment/pkimessages.py
parentefaa21dddc68bc4ff60b1c2a24bef9b23b0bb73b (diff)
downloadpki-6d37d95354b46846a055fcc8cdcf7f5f88ab729e.tar.gz
pki-6d37d95354b46846a055fcc8cdcf7f5f88ab729e.tar.xz
pki-6d37d95354b46846a055fcc8cdcf7f5f88ab729e.zip
Fixed duplicate executions of finalization scriptlet.
Previously the finalization scriptlet was always executed in each pkispawn execution. In multi-step installations (e.g. external CA, standalone, or installation/configuration-only mode) some of the code in the scriptlet such as enabling systemd service, restarting the service, and purging client database will be redundant. Now the scriptlet has been modified to execute only in the final step of the installation. The code that archives the deployment and manifest files has been moved into pkispawn to ensure that it is always executed in each pkispawn execution. For clarity the method that displays the installation summary has been broken up into separate methods for standalone step 1, installation-only mode, and configuration-only/full installation.
Diffstat (limited to 'base/server/python/pki/server/deployment/pkimessages.py')
-rw-r--r--base/server/python/pki/server/deployment/pkimessages.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/server/python/pki/server/deployment/pkimessages.py b/base/server/python/pki/server/deployment/pkimessages.py
index b58915fe2..c8821bbb6 100644
--- a/base/server/python/pki/server/deployment/pkimessages.py
+++ b/base/server/python/pki/server/deployment/pkimessages.py
@@ -98,7 +98,8 @@ PKI_SUBORDINATE_UNSUPPORTED_1 = \
PKI_IOERROR_1 = "IOError: %s!"
PKI_KEYERROR_1 = "KeyError: %s!"
PKI_LARGEZIPFILE_ERROR_1 = "zipfile.LargeZipFile: %s!"
-PKI_MANIFEST_MESSAGE_1 = "generating manifest file called '%s'"
+PKI_ARCHIVE_CONFIG_MESSAGE_1 = "archiving configuration into '%s'"
+PKI_ARCHIVE_MANIFEST_MESSAGE_1 = "archiving manifest into '%s'"
PKI_OSERROR_1 = "OSError: %s!"
PKI_SHUTIL_ERROR_1 = "shutil.Error: %s!"
PKI_SUBPROCESS_ERROR_1 = "subprocess.CalledProcessError: %s!"