Closed tskirvin closed 4 years ago
Those hs_err.log
files are piling up too.
At any rate, a workaround for now:
$base = '/opt/puppetlabs/server'
exec { 'puppetserver-gem-install':
command => "${base}/bin/puppetserver gem install hiera-eyaml",
unless => "test -f ${base}/data/puppetserver/jruby-gems/gems/hiera-eyaml-*/hiera-eyaml.gemspec >& /dev/null"
}
The provider no longer starts a JVM to list gems, which addresses all but installation. For installing gems, its safest to use a JVM, so the system will require more memory.
I'm trying to install hiera-eyaml with this gem, and getting this error, followed by trying to reinstall the gem every time:
The problem can be reproduced here: