Added stdout and stderr to puppet output for rc=2

pull/18777/head
Xav Paice 9 years ago committed by Matt Clay
parent fa9e1fd384
commit f30dbc9b20

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

Loading…
Cancel
Save