| Feedback from docs site: Url: https://puppet.com/docs/puppetdb/5.2/api/query/examples-pql.html Comment: The example query under 'Fact and resource filtering for classes' needs its class title capitalised, I think, otherwise it won't return anything. For example, for the query 'inventory[certname] { resources { type = "Class" and title = "apache" } }' , PuppetDB doesn't return anything, but 'inventory[certname] { resources { type = "Class" and title = "Apache" } }' does give me a correct list of certnames. This is against PuppetDB 5.2.11. I think the example under 'Profile querying' is correct. |