summaryrefslogtreecommitdiffstats
path: root/ipaplatform/base
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-07-01 15:05:45 +0200
committerJan Cholasta <jcholast@redhat.com>2015-07-21 17:30:10 +0200
commiteefe6dc3a2a6fb316650638c3db90ed63f8551de (patch)
tree24e34bab030c57df90bfcfe730eacdac8621a200 /ipaplatform/base
parent9ecfd98deb548663da9ee8caa52f32b337311aa4 (diff)
downloadfreeipa-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.py2
-rw-r--r--ipaplatform/base/paths.py1
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"