diff options
author | Martin Basti <mbasti@redhat.com> | 2015-07-01 15:05:45 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-07-21 17:30:10 +0200 |
commit | 92828d3cf50e00fe75ebf3ec9e0edc8b9c8eae35 (patch) | |
tree | 8d1abd73e7a8069c47fe66ae76f691a6dd713809 /ipaserver/install/dnskeysyncinstance.py | |
parent | a487e42d3fb71ceb3128fb9a2055a5586c4ed851 (diff) | |
download | freeipa-92828d3cf50e00fe75ebf3ec9e0edc8b9c8eae35.tar.gz freeipa-92828d3cf50e00fe75ebf3ec9e0edc8b9c8eae35.tar.xz freeipa-92828d3cf50e00fe75ebf3ec9e0edc8b9c8eae35.zip |
DNS: check if DNS package is installed
Instead of separate checking of DNS required packages, we need just
check if IPA DNS package is installed.
https://fedorahosted.org/freeipa/ticket/4058
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipaserver/install/dnskeysyncinstance.py')
-rw-r--r-- | ipaserver/install/dnskeysyncinstance.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ipaserver/install/dnskeysyncinstance.py b/ipaserver/install/dnskeysyncinstance.py index eb6d07f01..7d1351ccc 100644 --- a/ipaserver/install/dnskeysyncinstance.py +++ b/ipaserver/install/dnskeysyncinstance.py @@ -30,12 +30,6 @@ softhsm_token_label = u'ipaDNSSEC' softhsm_slot = 0 replica_keylabel_template = u"dnssec-replica:%s" -def check_inst(): - if not os.path.exists(paths.DNSSEC_KEYFROMLABEL): - print ("Please install the 'bind-pkcs11-utils' package and start " - "the installation again") - return False - return True def dnssec_container_exists(fqdn, suffix, dm_password=None, ldapi=False, realm=None, autobind=ipaldap.AUTOBIND_DISABLED): |