dogtaginstance: remove unused function 'check_inst'

Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
Fraser Tweedale 2015-12-14 16:52:40 +11:00 committed by Tomas Babej
parent d68613194b
commit 38861428e7
2 changed files with 0 additions and 18 deletions

View File

@ -236,7 +236,6 @@ class BasePathNamespace(object):
SCHEMA_COMPAT_ULDIF = "/usr/share/ipa/schema_compat.uldif"
IPA_JS_PLUGINS_DIR = "/usr/share/ipa/ui/js/plugins"
UPDATES_DIR = "/usr/share/ipa/updates/"
PKI_CONF_SERVER_XML_TEMPLATE = "/usr/share/pki/%s/conf/server.xml"
CACHE_IPA_SESSIONS = "/var/cache/ipa/sessions"
VAR_KERBEROS_KRB5KDC_DIR = "/var/kerberos/krb5kdc/"
VAR_KRB5KDC_K5_REALM = "/var/kerberos/krb5kdc/.k5."

View File

@ -47,23 +47,6 @@ from ipapython.ipa_log_manager import log_mgr
PKI_USER = "pkiuser"
def check_inst(subsystem):
"""
Validate that the appropriate dogtag/RHCS packages have been installed.
"""
# Check for a couple of binaries we need
if not os.path.exists(paths.PKISPAWN):
return False
if not os.path.exists(paths.PKIDESTROY):
return False
if not os.path.exists(paths.PKI_CONF_SERVER_XML_TEMPLATE % subsystem):
return False
return True
def get_security_domain():
"""
Get the security domain from the REST interface on the local Dogtag CA