Issue #12981 has been updated by Matthaus Litteken. Status changed from Merged - Pending Release to Closed
Released in Puppet 2.7.14rc1 ---------------------------------------- Bug #12981: External subcommand exit status not returned https://projects.puppetlabs.com/issues/12981#change-60765 Author: Lauri Tirkkonen Status: Closed Priority: Normal Assignee: Category: Target version: 2.7.14 Affected Puppet version: 2.7.11 Keywords: Branch: execute_external_subcommand uses system() instead of exec() and therefore always returns successfully if the external command was run, even if the command returns a non-zero exit status. Steps to reproduce: echo "a " | puppet lint /dev/stdin ; echo $? Expected output: ERROR: trailing whitespace found on line 1 1 Actual output: ERROR: trailing whitespace found on line 1 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
