mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
dogtaginstance: remove unused function 'check_inst'
Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
parent
d68613194b
commit
38861428e7
@ -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."
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user