summaryrefslogtreecommitdiffstats
path: root/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py
diff options
context:
space:
mode:
authorJack Magne <jmagne@dhcp-16-213.sjc.redhat.com>2014-04-14 15:39:50 -0700
committerJack Magne <jmagne@dhcp-16-213.sjc.redhat.com>2014-04-15 14:40:28 -0700
commit19664d23cf0808a25e736b97fb12144b60b84aba (patch)
tree6c53785ae12fdeca3ad5e6a039226f19746d0da2 /base/server/python/pki/server/deployment/scriptlets/slot_substitution.py
parent32a0192af220f2b18f79a9231310fefd22182afb (diff)
downloadpki-19664d23cf0808a25e736b97fb12144b60b84aba.tar.gz
pki-19664d23cf0808a25e736b97fb12144b60b84aba.tar.xz
pki-19664d23cf0808a25e736b97fb12144b60b84aba.zip
PhoneHome feature:
1. Provides an xml file served by TPS to allow the client(esc) to configure itself to contact TPS. 2. Edewata review fixes. Return application/xml instead of text/xml, and fix how the phone home file path is calculated.
Diffstat (limited to 'base/server/python/pki/server/deployment/scriptlets/slot_substitution.py')
-rw-r--r--base/server/python/pki/server/deployment/scriptlets/slot_substitution.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py b/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py
index cc54cc49c..1c13bdbd1 100644
--- a/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py
+++ b/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py
@@ -92,6 +92,10 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
deployer.master_dict['pki_target_proxy_conf'])
deployer.file.apply_slot_substitution(
deployer.master_dict['pki_target_profileselect_template'])
+ elif deployer.master_dict['pki_subsystem'] == "TPS":
+ deployer.file.copy_with_slot_substitution(
+ deployer.master_dict['pki_source_phone_home_xml'],
+ deployer.master_dict['pki_target_phone_home_xml'])
return self.rv
def destroy(self, deployer):