From e1809a3c6df50ed2e8a35ab7108a3a057e4fcaff Mon Sep 17 00:00:00 2001 From: Christina Fu Date: Tue, 3 Jun 2014 16:42:10 -0700 Subject: TPS Token Profile Resolver Framework - part2 --- base/server/python/pki/server/deployment/pkiparser.py | 4 ++++ .../python/pki/server/deployment/scriptlets/slot_substitution.py | 3 +++ 2 files changed, 7 insertions(+) (limited to 'base/server/python') diff --git a/base/server/python/pki/server/deployment/pkiparser.py b/base/server/python/pki/server/deployment/pkiparser.py index 8fb29dedc..2759ceeef 100644 --- a/base/server/python/pki/server/deployment/pkiparser.py +++ b/base/server/python/pki/server/deployment/pkiparser.py @@ -712,6 +712,10 @@ class PKIConfigParser: ['pki_subsystem_configuration_path'], "transportCert.profile") elif self.pki_master_dict['pki_subsystem'] == "TPS": + self.pki_master_dict['pki_target_registry_cfg'] = \ + os.path.join(self.pki_master_dict\ + ['pki_subsystem_configuration_path'], + "registry.cfg") self.pki_master_dict['pki_target_phone_home_xml'] = \ os.path.join( self.pki_master_dict['pki_subsystem_configuration_path'], 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 1c13bdbd1..88bdf94b7 100644 --- a/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py +++ b/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py @@ -93,6 +93,9 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet): 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_registry_cfg'], + deployer.master_dict['pki_target_registry_cfg']) deployer.file.copy_with_slot_substitution( deployer.master_dict['pki_source_phone_home_xml'], deployer.master_dict['pki_target_phone_home_xml']) -- cgit