[Pkg-puppet-devel] Bug#1009643: Puppet: Fails to work with Ruby 3.0

Sven Mueller sven.mueller72 at gmail.com
Wed Apr 13 15:31:14 BST 2022


Package: puppet
Version: 5.5.22-4
Severity: serious
Justification: Fails at core functions

Since testing switched /usr/bin/ruby to use ruby3.0, a previously working
Puppet manifest fails:

smu at larsa.muc:/tmp$ ruby3.0 /usr/bin/puppet apply t.pp
Notice: Compiled catalog for larsa.muc.corp.google.com in environment
production in 0.01 seconds
Error: Could not set 'link' on ensure: wrong number of arguments (given 3,
expected 2) (file: /tmp/t.pp, line: 1)
Error: Could not set 'link' on ensure: wrong number of arguments (given 3,
expected 2) (file: /tmp/t.pp, line: 1)
Wrapped exception:
wrong number of arguments (given 3, expected 2)
Error: /Stage[main]/Main/File[/tmp/testme123]/ensure: change from 'absent'
to 'link' failed: Could not set 'link' on ensure: wrong number of arguments
(given 3, expected 2) (file: /tmp/t.pp, line: 1)
Notice: Applied catalog in 0.02 seconds
smu at larsa.muc:/tmp$ cat t.pp
file {"/tmp/testme123":
  ensure => symlink,
  target => "/tmp/t.pp",
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-puppet-devel/attachments/20220413/bc255839/attachment.htm>


More information about the Pkg-puppet-devel mailing list