Issue #6255 has been updated by Ben Hughes. Status changed from Investigating to Needs Decision Assignee changed from Ben Hughes to Nigel Kersten
Indeed, sorry. Now I've built a small example network doing the same I think it's a problem between expected operation and what it's actually doing. It's reporting that it's kicked off a run, and the return code is based on kicking off that run. This bears no relation to the return value of the run. You can see that it returns success before the run has even started if you have them side by side. So, either we need to change the documentation and perception of this, or, we need to add an option to report on the success of the remote run (because we'd otherwise have to enforce --foreground on all of them. Which may not be a desirable default!). ---------------------------------------- Bug #6255: Puppet kick exists with 0 even when puppet run has failures https://projects.puppetlabs.com/issues/6255 Author: Jeffrey Lensen Status: Needs Decision Priority: Normal Assignee: Nigel Kersten Category: Target version: Affected Puppet version: 2.6.1 Keywords: Branch: When I run a puppet kick from a remote server and the puppet run on the other host encounters failures during a run, it still exits with 0 and says everything was successful. $ puppet kick --foreground host ; echo $? Triggering host Getting status status is success host finished with exit code 0 Finished 0 Wouldn't it make more sense to exit with something other than 0 so you can easily determine if the puppet run was actually successful or not? -- 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.
