The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #8401

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

Added by John Morrissey almost 5 years ago. Updated over 4 years ago.

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


Target version:2.7.3
Affected Puppet version:2.7.1 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


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.


#1 Updated by James Turnbull almost 5 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 5 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 5 years ago

Great, thank you!

#4 Updated by Matthaus Owens over 4 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 4 years ago

  • Target version changed from 2.7.x to 2.7.3

Also available in: Atom PDF