File disable_not_relevant_checks_bnc_828453.patch of Package cobbler

diff --git a/cobbler/action_check.py b/cobbler/action_check.py
index c3ee2fb..bc4be29 100644
--- a/cobbler/action_check.py
+++ b/cobbler/action_check.py
@@ -98,7 +98,7 @@ class BootCheck:
        return status
 
    def check_for_ksvalidator(self, status):
-       if self.checked_dist in ["debian", "ubuntu"]:
+       if self.checked_dist in ["debian", "ubuntu", "suse"]:
           return
 
        if not os.path.exists("/usr/bin/ksvalidator"):
@@ -107,6 +107,9 @@ class BootCheck:
        return True
 
    def check_for_cman(self, status):
+       if self.checked_dist == "suse":
+          return
+
        # not doing rpm -q here to be cross-distro friendly
        if not os.path.exists("/sbin/fence_ilo") and not os.path.exists("/usr/sbin/fence_ilo"):
            status.append("fencing tools were not found, and are required to use the (optional) power management features. install cman or fence-agents to use them")
@@ -162,6 +165,9 @@ class BootCheck:
                    status.append(_("yum-utils need to be at least version 1.1.17 for reposync -l, current version is %s") % yum_utils_ver )
 
    def check_debmirror(self,status):
+       if self.checked_dist == "suse":
+          return
+
        if not os.path.exists("/usr/bin/debmirror"):
            status.append(_("debmirror package is not installed, it will be required to manage debian deployments and repositories"))
        if os.path.exists("/etc/debmirror.conf"):
@@ -245,6 +251,9 @@ class BootCheck:
 
 
    def check_for_default_password(self,status):
+       if self.checked_dist == "suse":
+          return
+
        default_pass = self.settings.default_password_crypted
        if default_pass == "$1$mF86/UHC$WvcIcX2t6crBz2onWxyac.":
            status.append(_("The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: \"openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'\" to generate new one"))
openSUSE Build Service is sponsored by