Hi Lucas, the new to_sym error seems to be related to use of the File
resource with `ensure => file` instead of link. Unless there's another
change introduced in 5.5.22-4ubuntu0.1, it seems like it has to be
caused by your patch.
Here's my test scenario that you should be able to use to reproduce:
issue.pp:
```
class issue
{
file { '/tmp/issue':
ensure => file,
source => '/etc/issue',
}
}
include issue
```
# Using puppet (5.5.22-4):
% puppet apply issue.pp
Notice: Compiled catalog for dev-vagrant22 in environment production in 0.01
seconds
Notice: /Stage[main]/Issue/File[/tmp/issue]/ensure: defined content as
'{md5}d5faf84af6529c6e6a364f164e953ff6'
Notice: Applied catalog in 0.01 seconds
# Using puppet (5.5.22-4ubuntu0.1):
% puppet apply issue.pp
Notice: Compiled catalog for dev-vagrant22 in environment production in 0.01
seconds
Error: /Stage[main]/Issue/File[/tmp/issue]: Could not evaluate: Could not
retrieve file metadata for file:///etc/issue: undefined method `to_sym' for
nil:NilClass
Notice: Applied catalog in 0.01 seconds
Thanks for your help fixing this, Lucas!
--
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