Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 7.1.0
-
None
-
Coremunity
-
Platform Core KANBAN
-
Needs Assessment
-
Bug Fix
-
Eliminates ruby 2.7.x warnings when running "puppet apply" with node statements
-
Needs Assessment
Description
Puppet Version: 7.1.0
Puppet Server Version: -
OS Name/Version: Windows 10 x64 20H2
Create a main.pp with the following contents (anywhere on your disk):
node default { |
}
|
Run:
puppet apply main.pp
|
Desired Behavior:
No warnings should be shown.
Actual Behavior:
The following warnings are displayed:
C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/pops/model/ast_transformer.rb:34: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
|
C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/leaf.rb:29: warning: The called method `initialize' is defined here
|
If you guys need any additional information, I'd happy to provide them.