On Mon, Sep 27, 2010 at 4:50 PM, Douglas Garstang <doug.garst...@gmail.com> wrote: > I'm trying to find a programmatic way to determine if the result of a > puppetrun was ok. Rather than scraping /var/log/messages, is there another > way to determine that a puppet run completed with errors and how long it > took to run? Is that state maintained on the client's disk somewhere?
What version of Puppet? How are you running the agent? out of cron? or as a daemon? If you're running it out of cron, there's a —detailed-exitcodes argument you can use to determine the client state. Have you looked at dumping a report at the end of your run and whether that reports the info you want? > Doug. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.