Jira (PUP-11552) Puppet on Ruby 3.1 warns about ERB passing safe_level as non-keyword argument

42 views
Skip to first unread message

Ewoud Kohl van Wijngaarden (Jira)

unread,
Jun 15, 2022, 5:51:02 AM6/15/22
to puppe...@googlegroups.com
Ewoud Kohl van Wijngaarden updated an issue
 
Puppet / Bug PUP-11552
Puppet on Ruby 3.1 warns about ERB passing safe_level as non-keyword argument
Change By: Ewoud Kohl van Wijngaarden
Agent OS: Other
Environment: {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: Improvement Bug
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}
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Josh Cooper (Jira)

unread,
Jun 21, 2022, 12:59:03 PM6/21/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jun 21, 2022, 1:00:04 PM6/21/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11552
 
Re: Puppet on Ruby 3.1 warns about ERB passing safe_level as non-keyword argument

ekohl thanks for the heads up to the outdated Agent OS field. I'll ping somebody about that.

Michael Hashizume (Jira)

unread,
Jun 21, 2022, 4:13:02 PM6/21/22
to puppe...@googlegroups.com

Michael Hashizume (Jira)

unread,
Jun 21, 2022, 4:14:02 PM6/21/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jul 27, 2022, 1:07:02 PM7/27/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Phoenix 2022-08-17
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Josh Cooper (Jira)

unread,
Aug 8, 2022, 8:19:03 PM8/8/22
to puppe...@googlegroups.com

Michael Hashizume (Jira)

unread,
Sep 7, 2022, 4:55:01 PM9/7/22
to puppe...@googlegroups.com
Michael Hashizume updated an issue
Change By: Michael Hashizume
Release Notes: Enhancement
Release Notes Summary: Passes ERB arguments as keywords

Parker Leach (Jira)

unread,
Sep 12, 2022, 12:32:01 PM9/12/22
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages