Closed viko885 closed 1 year ago
Can anyone advise a workaround how to get rid of the error messages? This is confusing for our operators. It is seen as if they made a mistake and waste time to investigate what's wrong.
Having the same error on Virtuozzo VEs Ubuntu with 18.04/20.04/22.04 without any lvm installed.
Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/lvm_support.rb undefined method `message' for #<String:0x0000561fc08477c8>
See also issue #308.
I can confirm https://github.com/puppetlabs/puppetlabs-lvm/pull/308 resolved the issue on my nodes!
Describe the Bug
Two kinds of errors appear during puppet execution. In both cases LVM module is not referenced in the manifest for the server where the error occurs.
On Windows:
On Linux:
Error: Facter: error while resolving custom facts in /var/rnd_puppet_agent/lib/facter/lvm_support.rb undefined method message for #<String:0x0000000003d0eeb0>
Expected Behavior
No error message.
Steps to Reproduce
Steps to reproduce the behavior:
Environment
Additional Context
No errors for VMs with OS Oracle Linux Server 7.9 and Oracle Linux Server 8.