summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/pkiparser.py
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2012-12-18 12:14:31 -0500
committerAde Lee <alee@redhat.com>2012-12-18 21:40:24 -0500
commit0ed987de47410970bdfffb4900f46e3229c79ffb (patch)
tree4c93eff070899eb016e11b386decd9ea9aa2b294 /base/deploy/src/scriptlets/pkiparser.py
parentb41da86d8afe32567779fefd705bf3b6c65f5838 (diff)
downloadpki-0ed987de47410970bdfffb4900f46e3229c79ffb.tar.gz
pki-0ed987de47410970bdfffb4900f46e3229c79ffb.tar.xz
pki-0ed987de47410970bdfffb4900f46e3229c79ffb.zip
Hardcode setting of resteasy-lib for instance
Tomcat in f17 expects the file under /etc/sysconfig/foo to be a set of environment variables being set, and parses it that way. We recently added some logic to source the global pki.conf file. This works in f18, but breaks instance startup in f17. While this works in f18, its an indication that we are using the tomcat config file incorrectly. Reverting to hardcoding resteasy lib.
Diffstat (limited to 'base/deploy/src/scriptlets/pkiparser.py')
-rw-r--r--base/deploy/src/scriptlets/pkiparser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/deploy/src/scriptlets/pkiparser.py b/base/deploy/src/scriptlets/pkiparser.py
index 8f351ac55..e4a6aed85 100644
--- a/base/deploy/src/scriptlets/pkiparser.py
+++ b/base/deploy/src/scriptlets/pkiparser.py
@@ -562,6 +562,8 @@ class PKIConfigParser:
"<!--"
config.pki_master_dict['PKI_TMPDIR_SLOT'] =\
config.pki_master_dict['pki_tomcat_tmpdir_path']
+ config.pki_master_dict['PKI_RESTEASY_LIB_SLOT'] =\
+ config.pki_master_dict['resteasy_lib']
config.pki_master_dict['PKI_RANDOM_NUMBER_SLOT'] =\
config.pki_master_dict['pki_one_time_pin']
config.pki_master_dict['PKI_SECURE_PORT_SLOT'] =\