Advertisement
theRoUS

PuppetDB query

Jul 31st, 2013
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. curl -X GET -H 'Accept: application/json' 'https://puppetdb03:8081/v2/resources' --data-urlencode 'query=
  2. ["and",
  3. ["=", "type", "Class"],
  4. ["in", "certname",
  5. ["extract", "certname",
  6. ["select-facts",
  7. ["=", "value", "devengrte"]
  8. ]
  9. ]
  10. ]
  11. ]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement