Skip to content

Instantly share code, notes, and snippets.

@kbarber
Created August 17, 2015 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbarber/ab7e5c096ebc79c7bbcb to your computer and use it in GitHub Desktop.
Save kbarber/ab7e5c096ebc79c7bbcb to your computer and use it in GitHub Desktop.
# curl -X GET http://localhost:8080/pdb/query/v4/nodes \
> --data-urlencode 'query=["extract","certname",["in","certname",["extract","certname",["select_facts",["or", ["=", "name", "kernelversion"], ["=", "name", "instance_uuid"]]]]]]'
[ {
"certname" : "kb.local"
} ]%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment