Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-11552

Puppet on Ruby 3.1 warns about ERB passing safe_level as non-keyword argument

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 7.19.0
    • None
    • Enhancement
    • Passes ERB arguments as keywords
    • Needs Assessment

    Description

      /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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ekohl Ewoud Kohl van Wijngaarden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support