[Puppet Users] Re: how do you do the equivalent of this SQL statement in puppetdb?

2013-01-18 Thread Hoof Hearted
I declare puppetdb is still awesome and always was. Peace out. On Tuesday, January 1, 2013 8:38:58 AM UTC-8, Hoof Hearted wrote: > > I need to be more succinct. How do you do the following with puppetdb? > > select count(*), date(created_at) from hosts group by 2 order by 2 desc; > >

[Puppet Users] how do you do the equivalent of this SQL statement in puppetdb?

2013-01-01 Thread Hoof Hearted
, December 27, 2012 10:26:33 PM UTC-8, Hoof Hearted wrote: > > The examples in the puppetdb docs show how I can query for a list of node > names. What if I want more fields? Could someone share an example of how > you query puppetdb to return multiple values? Like what if you want the &

[Puppet Users] Re: Trying, Trying and Trying and still cannot make puppet and client work :-(

2012-12-28 Thread Hoof Hearted
In addition to all that, one quick thing to lower the barrier to entry is to just start off with this in your default node: node default { notify {"hello world": } } On Friday, December 28, 2012 3:26:47 AM UTC-8, Keiran Sweet wrote: > > Hi There, > A couple of suggestions if you are starting

[Puppet Users] Re: Trying, Trying and Trying and still cannot make puppet and client work :-(

2012-12-27 Thread Hoof Hearted
what does your puppetmaster's site.pp have in it? Also, I'm not super sure, but you might want to at least make the puppetmaster and client the same version. If you don't have the packages readily available you could install them easily via gem. On Thursday, December 27, 2012 10:55:38 AM UTC-8

[Puppet Users] example curl-based puppetdb query equivalent to select node.name, node.role from nodes where dept = 'finance'

2012-12-27 Thread Hoof Hearted
The examples in the puppetdb docs show how I can query for a list of node names. What if I want more fields? Could someone share an example of how you query puppetdb to return multiple values? Like what if you want the node's name and what the custom fact "role" says, for all nodes that have th