Issue #21236 has been updated by Charlie Sharpsteen. Category set to error reporting Assignee set to Charlie Sharpsteen
---------------------------------------- Bug #21236: --detailed-exit-codes not honored when --noop is used https://projects.puppetlabs.com/issues/21236#change-92971 * Author: Lee Lowder * Status: Unreviewed * Priority: Normal * Assignee: Charlie Sharpsteen * Category: error reporting * Target version: * Affected Puppet version: * Keywords: customer * Branch: ---------------------------------------- According to the man page, >--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. If --noop is used, puppet always returns with an exit code of 0. While technically correct, as nothing changed, it is not the expected result nor is it terribly useful. Puppet should return 0 if nothing would have changed, 2 if something would have changed, 4 if errors and 6 if potential changes and errors when ran with --noop. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
