Skip to content

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

Description

@iscb1962

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions