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 | eefe6dc3a2a6fb316650638c3db90ed63f8551de (patch) | |
tree | 24e34bab030c57df90bfcfe730eacdac8621a200 /ipaplatform/base | |
parent | 9ecfd98deb548663da9ee8caa52f32b337311aa4 (diff) | |
download | freeipa-eefe6dc3a2a6fb316650638c3db90ed63f8551de.tar.gz freeipa-eefe6dc3a2a6fb316650638c3db90ed63f8551de.tar.xz freeipa-eefe6dc3a2a6fb316650638c3db90ed63f8551de.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/base')
-rw-r--r-- | ipaplatform/base/constants.py | 2 | ||||
-rw-r--r-- | ipaplatform/base/paths.py | 1 |
2 files changed, 2 insertions, 1 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" |