curl -X GET -H 'Accept: application/json' 'https://puppetdb03:8081/v2/resources' --data-urlencode 'query=
["and",
["=", "type", "Class"],
["in", "certname",
["extract", "certname",
["select-facts",
["=", "value", "devengrte"]
]
]
]
]'
Comments