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

Remove calls to deprecated parameters #198

Merged
merged 2 commits into from
Jul 9, 2024
Merged

Conversation

silug
Copy link
Contributor

@silug silug commented Jul 8, 2024

On Puppet 8, strict is set to error by default. This causes deprecation() to fail and output an error message.

This change avoids the calls to deprecated parameters where possible and checks the value of strict in tests where the deprecated parameters are used intentionally.

On Puppet 8, [strict](https://www.puppet.com/docs/puppet/8/configuration.html#strict) is set to `error` by default.  This causes [`deprecation()`](https://forge.puppet.com/modules/puppetlabs/stdlib/reference#deprecation) to fail and output an error message.

This change avoids the calls to deprecated parameters where possible and checks the value of `strict` in tests where the deprecated parameters are used intentionally.
@silug silug marked this pull request as ready for review July 9, 2024 13:45
@silug silug marked this pull request as draft July 9, 2024 14:12
@silug silug marked this pull request as ready for review July 9, 2024 15:09
@silug silug merged commit 10ea353 into simp:master Jul 9, 2024
8 checks passed
@silug silug deleted the deprecation branch July 9, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants