Skip to content

Conversation

@alexjfisher
Copy link
Collaborator

Convert the function to the modern function API as a namespaced function and use the networking fact instead of legacy facts.

A non-namespaced shim is also created (but marked deprecated), to preserve compatibility.

@alexjfisher alexjfisher requested review from a team, b4ldr, bastelfreak, ekohl and smortex as code owners April 25, 2023 17:29
@puppet-community-rangefinder
Copy link

has_interface_with is a function

Breaking changes to this file MAY impact these 8 modules (near match):

stdlib::has_interface_with is a function

that may have no external impact to Forge modules.

This module is declared in 318 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

Convert the function to the modern function API as a namespaced function
and use the `networking` fact instead of legacy facts.

A non-namespaced shim is also created (but marked deprecated), to
preserve compatibility.
Copy link
Contributor

@jordanbreen28 jordanbreen28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job @alexjfisher

@jordanbreen28 jordanbreen28 merged commit 6231552 into puppetlabs:main Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants