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 /ipaplatform | |
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 'ipaplatform')
-rw-r--r-- | ipaplatform/base/constants.py | 2 | ||||
-rw-r--r-- | ipaplatform/base/paths.py | 1 | ||||
-rw-r--r-- | ipaplatform/rhel/constants.py | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/ipaplatform/base/constants.py b/ipaplatform/base/constants.py index 70485055f..cef829e2d 100644 --- a/ipaplatform/base/constants.py +++ b/ipaplatform/base/constants.py @@ -8,4 +8,4 @@ This base platform module exports platform dependant constants. class BaseConstantsNamespace(object): - pass + IPA_DNS_PACKAGE_NAME = "freeipa-server-dns" diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index 575604017..4c93c1f71 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -218,6 +218,7 @@ class BasePathNamespace(object): GROUPADD = "/usr/sbin/groupadd" HTTPD = "/usr/sbin/httpd" IPA_CLIENT_INSTALL = "/usr/sbin/ipa-client-install" + IPA_DNS_INSTALL = "/usr/sbin/ipa-dns-install" SBIN_IPA_JOIN = "/usr/sbin/ipa-join" IPA_REPLICA_CONNCHECK = "/usr/sbin/ipa-replica-conncheck" IPA_RMKEYTAB = "/usr/sbin/ipa-rmkeytab" diff --git a/ipaplatform/rhel/constants.py b/ipaplatform/rhel/constants.py index eaca48030..17abde1f8 100644 --- a/ipaplatform/rhel/constants.py +++ b/ipaplatform/rhel/constants.py @@ -11,6 +11,6 @@ from ipaplatform.redhat.constants import RedHatConstantsNamespace class RHELConstantsNamespace(RedHatConstantsNamespace): - pass + IPA_DNS_PACKAGE_NAME = "ipa-server-dns" constants = RHELConstantsNamespace() |