summaryrefslogtreecommitdiffstats
path: root/base/common/python
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-10-11 13:18:45 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-01-28 13:40:34 -0500
commita578cf649c0c41676677cf0a6ede03ea8d6fedb7 (patch)
tree09662b332c40e86bb7113e968c2c52c627c9ed24 /base/common/python
parent2d574090ba49eec9647b78b44d841a6d6026dccf (diff)
downloadpki-a578cf649c0c41676677cf0a6ede03ea8d6fedb7.tar.gz
pki-a578cf649c0c41676677cf0a6ede03ea8d6fedb7.tar.xz
pki-a578cf649c0c41676677cf0a6ede03ea8d6fedb7.zip
Added server management library.
The PKISubsystem and PKIInstance classes used by the upgrade framework have been converted into a server management library. They have been enhanced to provide the following functionalities: * starting and stopping instances * enabling and disabling subsystems * checking instance and subsystem statuses The validate() invocation has been moved out of the constructors into the upgrade framework such that these objects can be created to represent subsystems and instances that do not exist yet. https://fedorahosted.org/pki/ticket/1183
Diffstat (limited to 'base/common/python')
-rw-r--r--base/common/python/pki/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/common/python/pki/__init__.py b/base/common/python/pki/__init__.py
index 62d87a01c..01ac26393 100644
--- a/base/common/python/pki/__init__.py
+++ b/base/common/python/pki/__init__.py
@@ -27,10 +27,10 @@ import re
import requests
-CONF_DIR = '/etc/pki'
+CONF_DIR = '/etc/pki'
SHARE_DIR = '/usr/share/pki'
-BASE_DIR = '/var/lib'
-LOG_DIR = '/var/log/pki'
+BASE_DIR = '/var/lib'
+LOG_DIR = '/var/log/pki'
PACKAGE_VERSION = SHARE_DIR + '/VERSION'
CERT_HEADER = "-----BEGIN CERTIFICATE-----"