dalen / puppet-puppetdbquery

Query functions for PuppetDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is the hiera backend still working with Puppet 4.10.10?

aptituz opened this issue · comments

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?)

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.