Query PuppetDB from manifests?
Is there an official way to query PuppetDB from manifests that is supported by PuppetLabs?
At present, the best way I am aware of to query PuppetDb from a manifest is to use PuppetDBQuery which is a third party module and therefor not officially supported.
While it would be possible to use the
generate() function to use curl to query puppetdb, but that is pretty hacky and also winds up in a grey area between what is supported (the REST API) and what is not (custom scripts).
Asked: 2014-07-03 13:55:56 -0500
Seen: 119 times
Last updated: Jul 07 '14