dalen / puppet-puppetdbquery

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

Deprecation warnings with Puppet Enterprise 2021.7 #131

Open sehrkamp opened 1 year ago

sehrkamp commented 1 year ago

I tested the latest Version (3.0.1) with Puppet Enterprise 2021.7, that has an agent compatible with Open Source Puppet 7.20.0, and got deprecation warnings:

# /opt/puppetlabs/puppet/bin/puppet puppetdbquery nodes '(Package["toml"])'
Warning: The method 'Puppet::Network::HttpPool.http_instance' is deprecated. Use Puppet.runtime[:http] instead
   (file & line not available)
/opt/puppetlabs/puppet/cache/lib/puppetdb/connection.rb:63: warning: URI.escape is obsolete
[...]

The result war correct, but the deprecations should be considered.