dalen / puppet-puppetdbquery

Query functions for PuppetDB
Apache License 2.0
198 stars 71 forks source link

Is the hiera backend still working with Puppet 4.10.10? #113

Closed aptituz closed 6 years ago

aptituz commented 6 years ago

On a puppetmaster I recently upgraded to 4.10.10 the hiera backend stopped working.

From debug log I can tell that the backend is used (e.g. the "Hiera PuppetDB backend starting" message appears) but it doesn't actually log any queries.

Consequently the puppetdb query does not return anything (and if a module parameter is initialized with the _nodequery it falls back to the default).

Could it be that compatibility got lost?

(On a related side-note: the README mentions to use PQL instead of this module, but PQL doesn't support usage like with the hiera backend, does it?)

aptituz commented 6 years ago

Ok, sorry for the noise: I sorted this out.

Apparently I had an old version of the module which doesn't have the lookup_key method provides in 3.x. So it couldn't work and the module is innocent.