summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/finalization.py
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2012-12-03 00:28:53 -0500
committerAde Lee <alee@redhat.com>2012-12-03 09:08:57 -0500
commit35dc1009494453803d22573ef876c8b418a609d3 (patch)
tree8584ea7bab0f45fe9154265a1a1285044cd045b6 /base/deploy/src/scriptlets/finalization.py
parent03a6350687e033461306d6b9000ef8ea34af96f9 (diff)
downloadpki-35dc1009494453803d22573ef876c8b418a609d3.tar.gz
pki-35dc1009494453803d22573ef876c8b418a609d3.tar.xz
pki-35dc1009494453803d22573ef876c8b418a609d3.zip
Change the structure of the client directory.
We need to keep the admin cert and p12 file in case the client directory is purged.
Diffstat (limited to 'base/deploy/src/scriptlets/finalization.py')
-rw-r--r--base/deploy/src/scriptlets/finalization.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/deploy/src/scriptlets/finalization.py b/base/deploy/src/scriptlets/finalization.py
index 62d92a626..55a007bca 100644
--- a/base/deploy/src/scriptlets/finalization.py
+++ b/base/deploy/src/scriptlets/finalization.py
@@ -67,8 +67,8 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet):
# be deleted!
#
if config.str2bool(master['pki_client_database_purge']):
- if util.directory.exists(master['pki_client_dir']):
- util.directory.delete(master['pki_client_dir'])
+ if util.directory.exists(master['pki_client_subsystem_dir']):
+ util.directory.delete(master['pki_client_subsystem_dir'])
# If instance has not been configured, print the
# configuration URL to the log
if config.str2bool(master['pki_skip_configuration']):