From 38861428e76c19107a03f07530e3724aee60a270 Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Dec 14 2015 13:32:36 +0000 Subject: dogtaginstance: remove unused function 'check_inst' Reviewed-By: Tomas Babej --- diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index 762a381..5513d77 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -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." diff --git a/ipaserver/install/dogtaginstance.py b/ipaserver/install/dogtaginstance.py index aad6fbb..193423d 100644 --- a/ipaserver/install/dogtaginstance.py +++ b/ipaserver/install/dogtaginstance.py @@ -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