Comment 0 for bug 1969939

Revision history for this message
Hadmut Danisch (hadmut) wrote :

Hi,

the puppet package that comes with ubuntu 22.04 is not completely working under ubuntu 22.04, since it is (outdated) puppet 5 which is not compatible with ruby versions above ruby 2.7, where ubuntu 22.04 comes with ruby 3.

The problem seems to be just a minor problem, it can't set logical links :

   Could not set 'link' on ensure: wrong number of arguments (given 3, expected 2)

The bug is known and discussed in upstream debian under

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009643

but they do believe that it is not worth wasting time to fix that old version and rather update to puppet 7.

From what they tell, it takes at least puppet 7.8 to run under ruby 3.

So as a workaround, one could use the regular puppet gem (which is not a server anymore, just the client since 6) on the client side (currently 7.16.0) and use the docker image from

https://hub.docker.com/r/puppet/puppetserver

on the server side. Maybe worth considering to turn this into a snap.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: puppet 5.5.22-4 [modified: usr/bin/puppet]
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
Date: Fri Apr 22 15:52:08 2022
InstallationDate: Installed on 2022-04-02 (19 days ago)
InstallationMedia: Lubuntu 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
PackageArchitecture: all
SourcePackage: puppet
UpgradeStatus: No upgrade log present (probably fresh install)