Can you help with this query? I am trying to get 2 facts from all of our
puppet clients in PuppetDB.
I tried variations of the following, but no luck: ('[or, [=, name,
kernelversion], [=, name, instance_uuid]]')
For me this query works. Here is the full curl example in the latest
PDB (I
Can you help with this query? I am trying to get 2 facts from all of our
puppet clients in PuppetDB.
I tried variations of the following, but no luck: ('[or, [=, name,
kernelversion], [=, name, instance_uuid]]')
Thank you!
On Tuesday, September 3, 2013 at 11:09:19 AM UTC-7, Ken Barber
Den tirsdag den 3. september 2013 20.09.19 UTC+2 skrev Ken Barber:
Is it acceptable to do the search based on 'certname'? ie:
curl -G 'http://localhost:8080/v2/facts' --data-urlencode
'query=[and,[~,certname,puppetdb?],[or,[=,name,ipaddress],[=,name,hostname]]]'
Thank you - that
Is it acceptable to do the search based on 'certname'? ie:
curl -G 'http://localhost:8080/v2/facts' --data-urlencode
'query=[and,[~,certname,puppetdb?],[or,[=,name,ipaddress],[=,name,hostname]]]'
ken.
On Mon, Sep 2, 2013 at 7:00 AM, Klavs Klavsen kl...@enableit.dk wrote:
This gives me the
I also tried https://github.com/dalen/puppet-puppetdbquery - but that
didn't really get me any closer :(
--
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
This gives me the ipaddress (and hostname).. now to figure out how to
filter on hostname regex..
'query=[=, name, ipaddress]'
--
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