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:

s...@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
s...@larsa.muc:/tmp$ cat t.pp
file {"/tmp/testme123":
  ensure => symlink,
  target => "/tmp/t.pp",
}

Reply via email to