Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 6 & 7
Ruby: 2.5 & 2.7
Distribution: N/A
Module version: 5.0.0
How to reproduce (e.g Puppet code you use)
Run bundle exec rake test using the 5.0.0 tag version of the module.
What are you seeing
❯ bundle exec rake test
manifests/download.pp:38:optional_default:WARNING:Optional parameter defaults to something other than undef
What behaviour did you expect instead
Passing tests.
Output log
Any additional information you'd like to impart
Optional parameters should default to undef, so I think fixing this behavior will result in a backwards-incompatible change, since existing users not explicitly setting the digest_type of archive::download, will need to do so after this change.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Run
bundle exec rake test
using the 5.0.0 tag version of the module.What are you seeing
What behaviour did you expect instead
Passing tests.
Output log
Any additional information you'd like to impart
Optional parameters should default to undef, so I think fixing this behavior will result in a backwards-incompatible change, since existing users not explicitly setting the
digest_type
ofarchive::download
, will need to do so after this change.