Merge pull request #1260 from xavpaice/devel

Added stdout and stderr to puppet output for rc=2
This commit is contained in:
Brian Coca 2015-11-24 12:51:14 -08:00
commit 767ec29640

View file

@ -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(