Closed thonixx closed 1 month ago
The puppet_gem
provider use the version of Ruby bundled in the AIO package. You seem to be using the package from Ubuntu (which is basically of Debian), not the AIO package from PuppetLabs.
Switching to AIO puppet should fix your issue.
Thanks for the tip, this is now fixed (and strangely on apt.puppet.com there is no puppetserver package (yet?) for Ubuntu Noble).
Just for the record: Switching to provider "gem" instead of "puppet_gem" would have solved it for the Ubuntu-provided puppet-agent package.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
In manifests/$host.pp I have configured this:
What are you seeing
During the Puppet run I see:
What behaviour did you expect instead
No puppet_gem error.
Any additional information you'd like to impart
I am not 100% sure if that's a problem related to the module or Puppet itself. I have also found #215 and #216.