| The following feedback came in on this page: docs/puppetdb/4.3/api/query/tutorial-pql.html the "Querying with Puppet code" sample has an error. The `.each` call does not do what it seems to be doing. It seems that it's turning the list of [ { certname => value } , ...] list into just [ value, ...] but because `.each` returns the original value (as opposed to the modified value), it actually does nothing and debian_nodes actually contains the unchanged query.a `map` would be more appropriate here. |