blob: 8464e8a5e00d0f77f175a52f34e63e46d3526865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
"""Check that a yum update would not run into conflicts with available packages."""
from openshift_checks import OpenShiftCheck
from openshift_checks.mixins import NotContainerizedMixin
class PackageUpdate(NotContainerizedMixin, OpenShiftCheck):
"""Check that a yum update would not run into conflicts with available packages."""
name = "package_update"
tags = ["preflight"]
def run(self):
args = {"packages": []}
return self.execute_module_with_retries("check_yum_update", args)
|