Skip to content

RFC: Convert all Puppet 4.x API functions to namespaced variants #1346

Closed
@alexjfisher

Description

@alexjfisher

IMO, only core puppet functions should not have namespaces, and all stdlib functions should start stdlib::.

I'd like to suggest that all current 'modern' (non 3.x style) functions get converted to namespaced versions with a non-namespaced deprecated shim replacing the original file in the same way as is done here.

This was also the approach we took in [extlib](https://github.com/voxpupuli/puppet-extlib/pull/120) and [postgresql](https://github.com/puppetlabs/puppetlabs-postgresql/commit/700d2c5bb54b7ea91d518de96e2c7a22318d0afa).

In a future major release we could drop the shims similar to how we did in [extlib 5.0.0](https://github.com/voxpupuli/puppet-extlib/pull/153)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions