summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-11-06 18:37:48 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-06 22:23:51 -0500
commitd92e5db027354463d7b92aa13a209367764e7a43 (patch)
treed9b950517b55459925b96885cf19d257c5a02f94
parent1cd2a023b78fbd290afc68ce87df744036cd2713 (diff)
downloadpki-d92e5db027354463d7b92aa13a209367764e7a43.zip
pki-d92e5db027354463d7b92aa13a209367764e7a43.tar.gz
pki-d92e5db027354463d7b92aa13a209367764e7a43.tar.xz
Removed code to deploy graphics.
-rw-r--r--base/deploy/src/scriptlets/instance_layout.py90
1 files changed, 0 insertions, 90 deletions
diff --git a/base/deploy/src/scriptlets/instance_layout.py b/base/deploy/src/scriptlets/instance_layout.py
index 02601e8..679492b 100644
--- a/base/deploy/src/scriptlets/instance_layout.py
+++ b/base/deploy/src/scriptlets/instance_layout.py
@@ -98,51 +98,6 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
common_images,
overwrite_flag=True)
- # Copy /usr/share/pki/<subsystem>-ui/webapps/<subsystem>/admin/graphics
- # to <instance>/webapp/pki/images
- dir = os.path.join(
- config.PKI_DEPLOYMENT_SOURCE_ROOT,
- master['pki_subsystem'].lower() + "-ui",
- "webapps",
- master['pki_subsystem'].lower(),
- "admin",
- "graphics")
- if (util.directory.exists(dir)):
- util.directory.copy(
- dir,
- common_images,
- overwrite_flag=True)
-
- # Copy /usr/share/pki/<subsystem>-ui/webapps/<subsystem>/agent/graphics
- # to <instance>/webapp/pki/images
- dir = os.path.join(
- config.PKI_DEPLOYMENT_SOURCE_ROOT,
- master['pki_subsystem'].lower() + "-ui",
- "webapps",
- master['pki_subsystem'].lower(),
- "agent",
- "graphics")
- if (util.directory.exists(dir)):
- util.directory.copy(
- dir,
- common_images,
- overwrite_flag=True)
-
- # Copy /usr/share/pki/<subsystem>-ui/webapps/<subsystem>/ee/graphics
- # to <instance>/webapp/pki/images
- dir = os.path.join(
- config.PKI_DEPLOYMENT_SOURCE_ROOT,
- master['pki_subsystem'].lower() + "-ui",
- "webapps",
- master['pki_subsystem'].lower(),
- "ee",
- "graphics")
- if (util.directory.exists(dir)):
- util.directory.copy(
- dir,
- common_images,
- overwrite_flag=True)
-
util.directory.create(master['pki_tomcat_webapps_root_path'])
util.directory.copy(
os.path.join(
@@ -273,51 +228,6 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
common_images,
overwrite_flag=True)
- # Copy /usr/share/pki/<subsystem>-ui/webapps/<subsystem>/admin/graphics
- # to <instance>/webapp/pki/images
- dir = os.path.join(
- config.PKI_DEPLOYMENT_SOURCE_ROOT,
- master['pki_subsystem'].lower() + "-ui",
- "webapps",
- master['pki_subsystem'].lower(),
- "admin",
- "graphics")
- if (util.directory.exists(dir)):
- util.directory.copy(
- dir,
- common_images,
- overwrite_flag=True)
-
- # Copy /usr/share/pki/<subsystem>-ui/webapps/<subsystem>/agent/graphics
- # to <instance>/webapp/pki/images
- dir = os.path.join(
- config.PKI_DEPLOYMENT_SOURCE_ROOT,
- master['pki_subsystem'].lower() + "-ui",
- "webapps",
- master['pki_subsystem'].lower(),
- "agent",
- "graphics")
- if (util.directory.exists(dir)):
- util.directory.copy(
- dir,
- common_images,
- overwrite_flag=True)
-
- # Copy /usr/share/pki/<subsystem>-ui/webapps/<subsystem>/ee/graphics
- # to <instance>/webapp/pki/images
- dir = os.path.join(
- config.PKI_DEPLOYMENT_SOURCE_ROOT,
- master['pki_subsystem'].lower() + "-ui",
- "webapps",
- master['pki_subsystem'].lower(),
- "ee",
- "graphics")
- if (util.directory.exists(dir)):
- util.directory.copy(
- dir,
- common_images,
- overwrite_flag=True)
-
util.directory.copy(
os.path.join(
config.PKI_DEPLOYMENT_SOURCE_ROOT,