fiddle about with runner logic to fix exit states

This commit is contained in:
Oliver Gorwits
2017-10-01 08:18:13 +01:00
parent 8fdba38ee0
commit 3b32e84312
5 changed files with 60 additions and 54 deletions

View File

@@ -139,7 +139,7 @@ foreach my $host (@hostlist) {
$job->log("error running job: $_");
};
if ($job->log eq 'no worker for this action was successful') {
if ($job->log eq 'check phase did not pass for this action') {
pod2usage(
-msg => (sprintf 'error: %s is not a valid action', $action),
-verbose => 2,