The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #8401

--detailed-exitcodes docs should mention that exitcode is a bitmask

Added by John Morrissey almost 3 years ago. Updated over 2 years ago.

Status:ClosedStart date:07/13/2011
Priority:NormalDue date:
Assignee:Nick Fagerlund% Done:

0%

Category:documentation
Target version:2.7.3
Affected Puppet version:2.7.1 Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

When running the agent with —detailed-exitcodes, I noticed it exited with status 6 to indicate that (a) there were changes and (b) some of those changes failed.

It’d be nice if the docs mentioned this bitmask treatment; changing the —detailed-exitcodes docs to something like this:

Provide transaction information via the exit code, which is a bitmask. An exit code of ‘2’ means there were changes, an exit code of ‘4’ means that there were failures during the transaction, and an exit code of ‘6’ (both the 2 and 4 bits set) means that there were both changes and failures during the transaction.

History

#1 Updated by James Turnbull almost 3 years ago

  • Status changed from Unreviewed to Accepted
  • Assignee set to Nick Fagerlund
  • Affected Puppet version changed from development to 2.7.1

#2 Updated by Nick Fagerlund almost 3 years ago

  • Status changed from Accepted to Merged - Pending Release

References to the --detailed-exitcodes flag in the agent, apply, and device man pages have been updated in the 2.7.x branch. Since we’re in an RC right now, the updated documentation should appear in 2.7.3.

#3 Updated by John Morrissey almost 3 years ago

Great, thank you!

#4 Updated by Matthaus Owens over 2 years ago

  • Status changed from Merged - Pending Release to Closed
  • Target version set to 2.7.x

Released in 2.7.3

#5 Updated by Matthaus Owens over 2 years ago

  • Target version changed from 2.7.x to 2.7.3

Also available in: Atom PDF