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

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 https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #17017

Improve puppet's error handling and exit code correctness.

Added by eric sorenson over 3 years ago. Updated over 1 year ago.

Status:AcceptedStart date:
Priority:NormalDue date:
Assignee:eric sorenson% Done:

100%

Category:-
Target version:3.x
Affected Puppet version: Branch:
Keywords:backlog

We've Moved!

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

This ticket is now tracked at: https://tickets.puppetlabs.com/browse/PUP-3460


Description

This is an umbrella bug for a slew of issues around un-informative or misleading error reporting, incorrect exit codes, and unhelpful help.

See the ‘related bugs’ field for a full list.


Related issues

Related to Puppet - Bug #5437: Manifest errors not reported to clients in 2.6.2 Closed 12/01/2010
Related to Puppet - Feature #5606: augeas needs more detailed error printing Closed 12/19/2010
Related to Puppet - Bug #15494: puppet parser validate returns zero on nonexistent file Closed
Related to Puppet - Bug #15642: puppet should return non-zero exit code for unknown subco... Accepted 07/21/2012
Related to Puppet - Feature #15669: A more helpful error message when the puppet master is at... Closed 07/24/2012
Related to Puppet - Bug #15671: error "Defaults are not virtualizable" is somewhat opaque Accepted 07/24/2012
Related to Puppet - Bug #15741: Ambiguous error message when setting up an invalid requir... Investigating 07/31/2012
Related to Puppet - Bug #15856: Puppet fails with opaque error message due to metadata.js... Needs Decision 08/06/2012
Related to Puppet - Feature #15863: Give warning when resource dependencies aren't applied wh... Needs Decision 08/07/2012
Related to Puppet - Bug #15961: Too vague of a depreciation warning when using source wit... Accepted
Related to Puppet - Bug #15984: Puppet Master with Umask 0027 Closed 08/15/2012
Related to Puppet - Bug #16073: Misleading error message when environments use non-alphan... Accepted 08/21/2012
Related to Puppet - Bug #16082: Puppet agent with --detailed-exitcodes returns exit code ... Needs Decision 08/22/2012
Related to Puppet - Bug #16106: incorrect command displayed when agent is disabled Closed 08/23/2012
Related to Puppet - Bug #16215: Wrong agent exit code on bad URI Accepted 09/03/2012
Related to Puppet - Bug #16259: err: Failed to apply catalog: Parameter repeat failed: Re... Needs More Information 09/05/2012
Related to Puppet - Bug #16380: Terrible error message when certificates don't validate Accepted 09/12/2012
Related to Puppet - Bug #16384: `puppet parser validate` tells me to use help when invoke... Closed 09/12/2012
Related to Puppet - Bug #16571: puppet commands should respond correctly to --help Accepted 09/25/2012
Related to Puppet - Feature #16639: Indicate when versions are incompatible Duplicate 09/29/2012
Related to Puppet - Bug #16768: puppet --no-client ignore SIGUSR1 Closed 10/03/2012
Related to Puppet - Feature #2241: An Error-mapping service should exist to provide better e... Investigating 05/11/2009
Related to Puppet - Bug #11584: Nested defines using higher level variables should fail t... Needs Decision 12/28/2011
Related to Puppet - Bug #19411: puppet module failures with JSON/YAML rendering have exit... Needs Decision
Related to Puppet - Bug #19906: Wrong error from "upgrade" with JSON output when module a... Closed
Related to Puppet - Bug #19971: When signalled, agent exits with status 0 even with --det... Accepted
Related to Puppet - Feature #21236: --detailed-exit-codes not honored when --noop is used Accepted
Related to Puppet - Feature #21951: catalog failures should cause an exit status other than 0 Accepted
Related to Puppet - Bug #19033: Exit status is 0, even in the presence of errors, without... Accepted
Related to Puppet - Bug #22572: Incorrect exit code from puppet apply without --detailed-... Duplicate

History

#1 Updated by Charlie Sharpsteen over 1 year ago

Redmine Issue #17017 has been migrated to JIRA:

https://tickets.puppetlabs.com/browse/PUP-3460

Also available in: Atom PDF