I have worked a bit on a event query tool, it is not ready for release yet. But hopefully it will be soon :)
It is tricky to combine it into a single query though as the report and event API don't support subqueries yet. On 7 June 2013 19:10, hai wu <haiwu...@gmail.com> wrote: > Erik, > > I am wondering when you are going to add some support for current puppetdb > report API .. > > Thanks, > Hai > > On Fri, Jun 7, 2013 at 11:13 AM, Erik Dalén > <erik.gustav.da...@gmail.com>wrote: > >> I've released version 1.2.0 of puppetdbquery. >> >> New for this release is auto capitalization of resource type names and >> class names. So now the queries 'class[apache]' and 'Class[Apache]' will be >> equivalent. Should make it a bit more forgiving and easy to use. The >> capitalization on the resource title only happens if the resource type is >> class, so not on stuff like 'File["/etc/passwd"]'. >> >> It also includes a fix to make it run better under certain ruby 1.8.7 >> versions. >> >> http://forge.puppetlabs.com/dalen/puppetdbquery/1.2.0 >> >> -- >> Erik Dalén >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to puppet-users+unsubscr...@googlegroups.com. >> To post to this group, send email to puppet-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/puppet-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Erik Dalén -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.