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/webapp_deployment.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/webapp_deployment.py')
-rw-r--r-- | base/deploy/src/scriptlets/webapp_deployment.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/deploy/src/scriptlets/webapp_deployment.py b/base/deploy/src/scriptlets/webapp_deployment.py index cc2086fc7..507d23c32 100644 --- a/base/deploy/src/scriptlets/webapp_deployment.py +++ b/base/deploy/src/scriptlets/webapp_deployment.py @@ -37,6 +37,11 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet): def spawn(self): if master['pki_subsystem'] in config.PKI_TOMCAT_SUBSYSTEMS: + if config.str2bool(master['pki_skip_installation']): + config.pki_log.info(log.SKIP_WEBAPP_DEPLOYMENT_SPAWN_1, + __name__, + extra=config.PKI_INDENTATION_LEVEL_1) + return self.rv config.pki_log.info(log.WEBAPP_DEPLOYMENT_SPAWN_1, __name__, extra=config.PKI_INDENTATION_LEVEL_1) # deploy war file |