I'm getting an error on puppet runs which use puppetdb queries:
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `server_urls' for #<Puppet::Util::Puppetdb::Config:0x00000003cd66c8> at /etc/puppet/local-modules/monitoring/manifests/init.pp:14 on node hostname.goes.here
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
By running the puppetmaster with --verbose
, I get a warning which looks helpful:
Warning: It looks like you are using a PuppetDB version < 3.0.
This version of puppetdbquery requires at least PuppetDB 3.0 to work.
Downgrade to puppetdbquery 1.x to use it with PuppetDB 2.x.
PuppetDB 3.0 isn't available on the machine in question, so I'm looking at downgrading puppetdbquery
. However, I can't find where/how this is installed. So far I've checked dpkg
(I'm running Debian Jessie), gem
and librarian-puppet
, but none of them appear to have installed puppetdbquery
.
Is there anyway to find where it came from and how to downgrade it?