Closed optiz0r closed 5 years ago
False alarm. After a few hours I tracked down a conflicting old version of camptocamp-puppetserver
module in the modulepath which was providing an incompatible copy of puppetserver_gem.rb
which was taking precedence over the one provided by this puppetserver_gem
module during pluginsync. Updating to the latest version of the puppetserver
module (since moved to puppet-pupetserver in the voxpupuli github organisation) which uses this module as a dependency now rather than providing its own has fixed the issue. Apologies for the noise, and hopefully this report will help someone else with the same problem in future.
Puppet runs are failing with:
puppet resource
fails when attempting to ensure an already installed gem is installed with:With some quick printf debugging of the puppet core, I have the following stracktrace:
Path being passed to
File.file?
is an array of arguments to be executed, not just the first argument which is the executable file on disk:["/opt/puppetlabs/bin/puppetserver", "gem"]
instead of/opt/puppetlabs/bin/puppetserver
.Gems installed:
OS version: CentOS 7.5.1804 Puppet agent 6.6.0 Puppetserver version 6.4.0 Puppetserver_gem version 1.1.1