Fix branch of _test_yum_rpm_sanity that returns a tuple of bool
There is a branch of _test_yum_rpm_sanity that returns a tuple of bool.
This causes issues in the CLI, which is expecting a single boolean.
Normalize the return to always return a single boolean.
@@ -208,7 +208,7 @@ exit(missing_electric_fence)"
job_log.error("Failed configuration check on '%s': Unable to access any yum mirrors" % address)
except AgentException:
job_log.exception("Exception thrown while trying to invoke agent on '%s':" % address)
- return False, False
+ return False
return can_update
