diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2015-12-14 16:52:40 +1100 |
|---|---|---|
| committer | Tomas Babej <tbabej@redhat.com> | 2015-12-14 14:32:36 +0100 |
| commit | 38861428e76c19107a03f07530e3724aee60a270 (patch) | |
| tree | d327034cd263d2fe52a90df21a5cdde37e0b5a91 | |
| parent | d68613194b4a26239ebb689d7270cf6c2035afbd (diff) | |
| download | freeipa-38861428e76c19107a03f07530e3724aee60a270.tar.gz freeipa-38861428e76c19107a03f07530e3724aee60a270.tar.xz freeipa-38861428e76c19107a03f07530e3724aee60a270.zip | |
dogtaginstance: remove unused function 'check_inst'
Reviewed-By: Tomas Babej <tbabej@redhat.com>
| -rw-r--r-- | ipaplatform/base/paths.py | 1 | ||||
| -rw-r--r-- | ipaserver/install/dogtaginstance.py | 17 |
2 files changed, 0 insertions, 18 deletions
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index 762a38136..5513d77c8 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 aad6fbbe5..193423d7e 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 |
