HomePhorge

(PUP-3654) Deprecate Puppet.newtype
5ceefea32dadUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3654) Deprecate Puppet.newtype

The newtype class method of the Puppet module includes a comment from
2011 stating that the method should be deprecated, but was under heavy
use at the time.

This commit adds a deprecation warning to this method to indicate that
it will be removed in a future release. Types using the old method have
also been updated to use Puppet::Type.newtype.

Details

Provenance
Will Hopper <whopper@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU75ec21bc2fbc: Merge branch 'pr/3255'
Branches
Unknown
Tags
Unknown

Event Timeline

Will Hopper <whopper@puppetlabs.com> committed rPU5ceefea32dad: (PUP-3654) Deprecate Puppet.newtype (authored by Will Hopper <whopper@puppetlabs.com>).Nov 13 2014, 8:57 AM