Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using deprecated stdlib routines #66

Open
timeweaver opened this issue Feb 7, 2024 · 3 comments · May be fixed by #68
Open

Using deprecated stdlib routines #66

timeweaver opened this issue Feb 7, 2024 · 3 comments · May be fixed by #68

Comments

@timeweaver
Copy link

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
Copy link

#67 should address if repo maintainers approve and merge it

@timeweaver
Copy link
Author

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

@isbear
Copy link

isbear commented Jul 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants