> 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 replaced instance_uuid with operatingsystem, since I don't have that fact and I wanted to show it working with _something_): # curl -G 'http://localhost:8080/pdb/query/v4/facts' --data-urlencode 'query=["or",["=","name","kernelversion"],["=","name","operatingsystem"]]' [ { "certname" : "kb.local", "environment" : "production", "name" : "operatingsystem", "value" : "Darwin" }, { "certname" : "kb.local", "environment" : "production", "name" : "kernelversion", "value" : "14.4.0" } ]% ken. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAE4bNTm3wBtqEvcWnMjy63U7P3T5E4kOcv6%2BHQ8vMPLL41dQqA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.