Added stdout and stderr to puppet output for rc=2

reviewable/pr18780/r1
Xav Paice 9 years ago
parent 7da1f8d4ca
commit c1cf8e671a

@ -197,7 +197,7 @@ def main():
error=True, stdout=stdout, stderr=stderr) error=True, stdout=stdout, stderr=stderr)
elif rc == 2: elif rc == 2:
# success with changes # success with changes
module.exit_json(rc=0, changed=True) module.exit_json(rc=0, changed=True, stdout=stdout, stderr=stderr)
elif rc == 124: elif rc == 124:
# timeout # timeout
module.exit_json( module.exit_json(

Loading…
Cancel
Save