Hi! Just created a test VM with 22.04 (updated to latest), and I have
such code:
file { '/etc/localtime':
ensure => 'link',
target => $osfamily ? {
'Debian' =>
'/usr/share/zoneinfo/posix/America/Los_Angeles',
default => '/usr/share/zoneinfo/America/Los_Angeles',
},
and initially I had this and only this error:
Error: wrong number of arguments (given 3, expected 2)
Error: /Stage[main]/Linux::Vm/File[/etc/localtime]/target: change from
'/usr/share/zoneinfo/Etc/UTC' to
'/usr/share/zoneinfo/posix/America/Los_Angeles' failed: wrong number of
arguments (given 3, expected 2)
but now, with proposed version I'm getting something different:
Error: /File[/var/cache/puppet/facts.d]: Failed to generate additional
resources using 'eval_generate': undefined method `to_sym' for nil:NilClass
Error: /File[/var/cache/puppet/facts.d]: Could not evaluate: Could not retrieve
information from environment production source(s) puppet:///pluginfacts
Error: /File[/var/cache/puppet/lib]: Failed to generate additional resources
using 'eval_generate': undefined method `to_sym' for nil:NilClass
Error: /File[/var/cache/puppet/locales]: Failed to generate additional
resources using 'eval_generate': undefined method `to_sym' for nil:NilClass
I enabled proposed repo and update puppet to that version:
puppet:
Installed: 5.5.22-4ubuntu0.1
Candidate: 5.5.22-4ubuntu0.1
Version table:
*** 5.5.22-4ubuntu0.1 400
500 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64
Packages
100 /var/lib/dpkg/status
5.5.22-4 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1969939
Title:
puppet 5 package incompatible with ruby 3 / ubuntu 22.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1969939/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs