return codes from puppet command

28 views
Skip to first unread message

Mikael Lindqvist

unread,
Feb 19, 2014, 4:28:45 AM2/19/14
to puppet...@googlegroups.com
Hi,

Where are the return codes from the puppet command documented?

I have seen 0, 2 and 6 and by the look of it they all seem to signal success, but it would be nice to see a list of them.

Thanks!

// Mikael

Andrey Kozichev

unread,
Feb 19, 2014, 8:33:10 AM2/19/14
to puppet...@googlegroups.com
puppet help agent

* --detailed-exitcodes:

  Provide transaction information via exit codes. If this is enabled, an exit

  code of '2' means there were changes, an exit code of '4' means there were

  failures during the transaction, and an exit code of '6' means there were both

  changes and failures.




--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/13097d50-fbcc-4ba6-9e09-ca19913a34c0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Erik Dalén

unread,
Feb 19, 2014, 3:05:25 PM2/19/14
to puppet...@googlegroups.com
-- test/-t turns on the detailed exit codes option



For more options, visit https://groups.google.com/groups/opt_out.



--
Erik Dalén
Reply all
Reply to author
Forward
0 new messages