Issue #6255 has been updated by Cesar Troncoso.
Hi Gustavo, thanks for the patch. However, i get an error when applying it: # puppet kick --tag subversion --host example.com --foreground Host example.com failed: undefined method `logs' for nil:NilClass examplle.com finished with exit code 2 Any ideas what could be wrong?? Thanks! ---------------------------------------- Bug #6255: Puppet kick exists with 0 even when puppet run has failures https://projects.puppetlabs.com/issues/6255#change-96343 * Author: Jeffrey Lensen * Status: Accepted * Priority: Low * Assignee: * Category: agent * Target version: 3.x * Affected Puppet version: 2.6.1 * Keywords: kick * 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 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.
