Hi chaps,
This morning I started running into an error. All my nodes started
failing with:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: You need rubygems to use Hiera at
/home/ispms/PUPPETROOT/environments/common/modules/uob_ntp/manifests/init.pp:5
on node
dhcp-dev.nomadic-core.bris.ac.uk
The master log shows:
Jan 20 12:08:38 puppet-prod puppet-master[30673]:
Puppet.features.rubygems? is deprecated. Require rubygems in your
application's entry point if you need it.
Jan 20 12:08:38 puppet-prod puppet-master[30673]: (at
/usr/lib/ruby/site_ruby/1.8/puppet/util/feature.rb:17:in `add')
I also read this recent thread, and none of the recommendations
helped:
http://grokbase.com/t/gg/puppet-users/1419xmhyf3/error-testing-puppet-3-x-upgrade-you-need-rubygems-to-use-hiera
This morning a colleague of mine wrote a custom function. It looked
sane to me but I removed it in case it was broken, and it didn't
help.
I also installed a Forge module, which I later removed, and it
didn't help.
I'm running stock puppet-3.4.2 from the PL repo and we are using
hiera-1.3.0. Everything worked normally until this morning and I'm
not entirely sure where to go from here. Any suggestions of things
to look at?
Cheers,
Jonathan