Closed
Description
Describe the Bug
Ruby 3.2 (used by Puppet-Agent 8) has removed the deprecated methods {File,Dir}.exists?
: https://github.com/puppetlabs/puppet/wiki/Puppet-8-Compatibility
Currently File.exists?
is still used by three parser functions: loadyaml
, loadjson
and load_module_metadata
.
Using one of these functions with Puppet 8 will probably not work as expected.
Expected Behavior
The functions should work when Puppet 8 is installed.
Environment
- 8.0.0
- Debian-11