{code:java} # cat /etc/fedora-release Fedora release 36 (Thirty Six) # ruby --version ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux] # puppet --version 7.17.0 {code} Note the dropdown in the Agent OS outdated and only lists very old Fedora versions
Issue Type:
ImprovementBug
Summary:
Puppet on Ruby 3.1 warns about ERB passing safe_level as non-keyword argument
{code:java} /usr/share/ruby/vendor_ruby/puppet/face/help.rb:143: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /usr/share/ruby/vendor_ruby/puppet/face/help.rb:143: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.{code}