summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/subsystem_layout.py
diff options
context:
space:
mode:
Diffstat (limited to 'base/deploy/src/scriptlets/subsystem_layout.py')
-rw-r--r--base/deploy/src/scriptlets/subsystem_layout.py75
1 files changed, 0 insertions, 75 deletions
diff --git a/base/deploy/src/scriptlets/subsystem_layout.py b/base/deploy/src/scriptlets/subsystem_layout.py
index fde69b0..c4c4c22 100644
--- a/base/deploy/src/scriptlets/subsystem_layout.py
+++ b/base/deploy/src/scriptlets/subsystem_layout.py
@@ -104,81 +104,6 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
def respawn(self):
config.pki_log.info(log.SUBSYSTEM_RESPAWN_1, __name__,
extra=config.PKI_INDENTATION_LEVEL_1)
- # update instance-based subsystem base
- util.directory.modify(master['pki_subsystem_path'])
- # update instance-based subsystem logs
- util.directory.modify(master['pki_subsystem_log_path'])
- util.directory.modify(master['pki_subsystem_archive_log_path'])
- if master['pki_subsystem'] in config.PKI_SIGNED_AUDIT_SUBSYSTEMS:
- util.directory.modify(master['pki_subsystem_signed_audit_log_path'])
- # update instance-based subsystem configuration
- util.directory.modify(master['pki_subsystem_configuration_path'])
- # util.directory.copy(master['pki_source_conf_path'],
- # master['pki_subsystem_configuration_path'])
- # overwrite_flag=True)
- # update instance-based subsystem registry
- util.directory.modify(master['pki_subsystem_registry_path'])
- # establish instance-based Apache/Tomcat specific subsystems
- if master['pki_subsystem'] in config.PKI_TOMCAT_SUBSYSTEMS:
- # update instance-based Tomcat PKI subsystem base
- if master['pki_subsystem'] == "CA":
- util.directory.copy(master['pki_source_emails'],
- master['pki_subsystem_emails_path'],
- overwrite_flag=True)
- util.directory.copy(master['pki_source_profiles'],
- master['pki_subsystem_profiles_path'],
- overwrite_flag=True)
- # update instance-based Tomcat PKI subsystem logs
- # update instance-based Tomcat PKI subsystem configuration
- if master['pki_subsystem'] == "CA":
- # util.file.copy(master['pki_source_flatfile_txt'],
- # master['pki_target_flatfile_txt'],
- # overwrite_flag=True)
- util.file.copy(master['pki_source_registry_cfg'],
- master['pki_target_registry_cfg'],
- overwrite_flag=True)
- # '*.profile'
- util.file.copy(master['pki_source_admincert_profile'],
- master['pki_target_admincert_profile'],
- overwrite_flag=True)
- util.file.copy(master['pki_source_caauditsigningcert_profile'],
- master['pki_target_caauditsigningcert_profile'],
- overwrite_flag=True)
- util.file.copy(master['pki_source_cacert_profile'],
- master['pki_target_cacert_profile'],
- overwrite_flag=True)
- util.file.copy(master['pki_source_caocspcert_profile'],
- master['pki_target_caocspcert_profile'],
- overwrite_flag=True)
- util.file.copy(master['pki_source_servercert_profile'],
- master['pki_target_servercert_profile'],
- overwrite_flag=True)
- util.file.copy(master['pki_source_subsystemcert_profile'],
- master['pki_target_subsystemcert_profile'],
- overwrite_flag=True)
- elif master['pki_subsystem'] == "KRA":
- # '*.profile'
- util.file.copy(master['pki_source_servercert_profile'],
- master['pki_target_servercert_profile'],
- overwrite_flag=True)
- util.file.copy(master['pki_source_storagecert_profile'],
- master['pki_target_storagecert_profile'],
- overwrite_flag=True)
- util.file.copy(master['pki_source_subsystemcert_profile'],
- master['pki_target_subsystemcert_profile'],
- overwrite_flag=True)
- util.file.copy(master['pki_source_transportcert_profile'],
- master['pki_target_transportcert_profile'],
- overwrite_flag=True)
- # update instance-based Tomcat PKI subsystem registry
- # update instance-based Tomcat PKI subsystem convenience
- # symbolic links
- util.symlink.modify(master['pki_subsystem_tomcat_webapps_link'])
- # update instance-based subsystem convenience symbolic links
- util.symlink.modify(master['pki_subsystem_database_link'])
- util.symlink.modify(master['pki_subsystem_conf_link'])
- util.symlink.modify(master['pki_subsystem_logs_link'])
- util.symlink.modify(master['pki_subsystem_registry_link'])
return self.rv
def destroy(self):