puppetlabs-stdlib icon indicating copy to clipboard operation
puppetlabs-stdlib copied to clipboard

Convert the Legacy Puppet functions to the Modern format

Open david22swan opened this issue 3 years ago • 4 comments

Since the release of the Modern Puppet function format several of the functions and all new ones to be added have been written in it, however the vast majority of the original functions remain in the Legacy format.

While they are still functional and will not currently cause any errors in their use, they are still outdated and using a format that has been fazed out, potential causing potential problems down the line.

As such it would be best to update them now before any issues can arise.

david22swan avatar Jul 26 '22 08:07 david22swan

What's your view on if they should be name spaced with stdlib::. My personal view is that stdlib is a bit more special and unique then most modules as such we could drop the requirement to namespace all (new or refactored) functions

b4ldr avatar Aug 01 '22 12:08 b4ldr

Somehow this doesn't link back to https://github.com/puppetlabs/puppetlabs-stdlib/pull/1259 but that's where this came up. In https://github.com/puppetlabs/puppetlabs-stdlib/pull/1259#issuecomment-1197839997 I stated pretty much the same as @b4ldr that I do feel stdlib is special and can be in the global namespace.

ekohl avatar Aug 01 '22 12:08 ekohl

Hello! 👋

This issue has been open for a while and has had no recent activity. We've labelled it with attention-needed so that we can get a clear view of which issues need our attention.

If you are waiting on a response from us we will try and address your comments on a future Community Day.

Alternatively, if it is no longer relevant to you please close the issue with a comment.

github-actions[bot] avatar Oct 31 '22 02:10 github-actions[bot]

This still needs doing...

alexjfisher avatar Feb 07 '24 15:02 alexjfisher