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

stdlib fails stdlib_deprecation check due to "bad" example file #1441

Open
iscb1962 opened this issue Oct 31, 2024 · 0 comments
Open

stdlib fails stdlib_deprecation check due to "bad" example file #1441

iscb1962 opened this issue Oct 31, 2024 · 0 comments

Comments

@iscb1962
Copy link

We've been running the stdlib_deprecations linter across all of our puppet code and were surprised to find that stdlib (version 9.6.0) itself has some deprecated functions defined ! Fortunately its not in actual code - but in one of the example files, see below. It would be good to get this example file cleaned up.

stdlib/examples/has_interface_with.pp - WARNING: Deprecated function found: 'has_interface_with'. Use stdlib::has_interface_with instead. on line 2 (check: stdlib_deprecated_functions)
stdlib/examples/has_interface_with.pp - WARNING: Deprecated function found: 'has_interface_with'. Use stdlib::has_interface_with instead. on line 3 (check: stdlib_deprecated_functions)
stdlib/examples/has_interface_with.pp - WARNING: Deprecated function found: 'has_interface_with'. Use stdlib::has_interface_with instead. on line 4 (check: stdlib_deprecated_functions)
stdlib/examples/has_interface_with.pp - WARNING: Deprecated function found: 'has_interface_with'. Use stdlib::has_interface_with instead. on line 5 (check: stdlib_deprecated_functions)
stdlib/examples/has_interface_with.pp - WARNING: Deprecated function found: 'has_interface_with'. Use stdlib::has_interface_with instead. on line 6 (check: stdlib_deprecated_functions)
stdlib/examples/has_interface_with.pp - WARNING: Deprecated function found: 'has_interface_with'. Use stdlib::has_interface_with instead. on line 7 (check: stdlib_deprecated_functions)
stdlib/examples/has_interface_with.pp - WARNING: Deprecated function found: 'has_interface_with'. Use stdlib::has_interface_with instead. on line 8 (check: stdlib_deprecated_functions)
stdlib/examples/has_interface_with.pp - WARNING: Deprecated function found: 'has_interface_with'. Use stdlib::has_interface_with instead. on line 9 (check: stdlib_deprecated_functions)

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

No branches or pull requests

1 participant