summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/webapp_deployment.py
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@redhat.com>2012-10-29 22:08:00 -0700
committerAde Lee <alee@redhat.com>2012-10-30 10:56:06 -0400
commita957a3d2960d6ae39a7785cccb0656d5ac230701 (patch)
treeccf5f8acd7af2320cafca4d620ace4cf7d4b1cfa /base/deploy/src/scriptlets/webapp_deployment.py
parent1485a05654211eec7935441b468769298782df6e (diff)
downloadpki-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.py5
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