ccin2p3 / puppet-cpan

Handle installations of cpan modules via puppet
Apache License 2.0
12 stars 47 forks source link

Using deprecated stdlib routines #66

Open timeweaver opened 5 months ago

timeweaver commented 5 months ago

Recent versions of stdlib have deprecated a bunch of validation routines The cpan module is using at least one of these (validate_bool)

Error 500 on SERVER: Server Error: Evaluation Error: Unknown function: 'validate_bool'. (file: /etc/puppetlabs/code/environments/production/modules/cpan/manifests/init.pp, line: 54, column: 3)

jstewart612 commented 3 months ago

https://github.com/ccin2p3/puppet-cpan/pull/67 should address if repo maintainers approve and merge it

timeweaver commented 3 months ago

Bad news, validate_legacy is has also gone away in the latest release.

isbear commented 6 days ago

I created a pull request, that replaces all validate_* with class parameter types.