I've got a reasonably small (~10 hosts) puppet installation, and recently, I've started to get warning messages on every puppet agent run. The message is:
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb Info: Loading facts in /etc/puppet/modules/firewall/lib/facter/iptables.rb Info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/lib/puppet/lib/facter/iptables.rb Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson Warning: Puppet.features.rubygems? is deprecated. Require rubygems in your application's entry point if you need it. (at /usr/lib/ruby/vendor_ruby/puppet/util/feature.rb:17:in `add') Info: Caching catalog for hostname.example.com
I'm not 100% sure what changed - this is only a test environment, so we're not quite as strict about change management as we should be. It could be that a new puppet package was installed, or an extra module added - we don't know.
The problem is, I've no information to go on regarding what could be causing this. Grepping through my
/etc/puppet/modules folder reveals a bunch of modules that use rubygems.
What's causing this warning, and how do I fix it?