Issue #19411 has been updated by Charlie Sharpsteen. Status changed from Needs More Information to Investigating Assignee changed from Dominic Cleal to Charlie Sharpsteen Affected Puppet version changed from 2.7.14 to development
Thanks for the update Dominic. I have been able to re-produce this with the current Puppet HEAD. Will get to the bottom of what is happening with the JSON/YAML backends. ---------------------------------------- Bug #19411: puppet module failures with JSON/YAML rendering have exit code 0 https://projects.puppetlabs.com/issues/19411#change-83927 Author: Dominic Cleal Status: Investigating Priority: Normal Assignee: Charlie Sharpsteen Category: module tool Target version: Affected Puppet version: development Keywords: Branch: When using puppet module with default console rendering, the exit code changes if there's a failure: $ puppet module install error/error >/dev/null 2>&1; echo $? 1 However when running with JSON or YAML rendering, it isn't changed: $ puppet module --render-as json install error/error >/dev/null 2>&1; echo $? 0 -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
