diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2012-10-29 22:08:00 -0700 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-10-30 10:56:06 -0400 |
commit | a957a3d2960d6ae39a7785cccb0656d5ac230701 (patch) | |
tree | ccf5f8acd7af2320cafca4d620ace4cf7d4b1cfa /base/deploy/src/scriptlets/pkihelper.py | |
parent | 1485a05654211eec7935441b468769298782df6e (diff) | |
download | pki-a957a3d2960d6ae39a7785cccb0656d5ac230701.tar.gz pki-a957a3d2960d6ae39a7785cccb0656d5ac230701.tar.xz pki-a957a3d2960d6ae39a7785cccb0656d5ac230701.zip |
Allow a PKI instance to be installed/configured independently
* TRAC Ticket #286 - Dogtag 10: Create parameter for optionally allowing
a user to skip configuration . . .
Diffstat (limited to 'base/deploy/src/scriptlets/pkihelper.py')
-rw-r--r-- | base/deploy/src/scriptlets/pkihelper.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/base/deploy/src/scriptlets/pkihelper.py b/base/deploy/src/scriptlets/pkihelper.py index 0ae6ba97e..ecc1df791 100644 --- a/base/deploy/src/scriptlets/pkihelper.py +++ b/base/deploy/src/scriptlets/pkihelper.py @@ -416,6 +416,25 @@ class namespace: # PKI Deployment Configuration File Class class configuration_file: + def log_configuration_url(self): + # NOTE: This is the one and only parameter containing a sensitive + # parameter that may be stored in a log file. + config.pki_log.info(log.PKI_CONFIGURATION_WIZARD_URL_1, + sensitive['pki_configuration_url'], + extra=config.PKI_INDENTATION_LEVEL_2) + config.pki_log.info(log.PKI_CONFIGURATION_WIZARD_RESTART_1, + master['pki_registry_initscript_command'], + extra=config.PKI_INDENTATION_LEVEL_2) + + def display_configuration_url(self): + # NOTE: This is the one and only parameter containing a sensitive + # parameter that may be displayed to the screen. + print log.PKI_CONFIGURATION_URL_1 % sensitive['pki_configuration_url'] + print + print log.PKI_CONFIGURATION_RESTART_1 %\ + master['pki_registry_initscript_command'] + print + def verify_sensitive_data(self): # Silently verify the existence of 'sensitive' data if master['pki_subsystem'] in config.PKI_TOMCAT_SUBSYSTEMS: |