Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to dynamically query PuppetDB for a list of certnames with a fact.

Hi folks,

I want to get a list of certnames that have a certain title. I can get a list with this query: ["=", "title", "Roles::Example_role"] on resources but it has a lot of extra data. I can parse it, but is there a way to get only the certnames?