HomePhorge

(PUP-2924) Initialize resources from Type classes
367d1d3ec63fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2924) Initialize resources from Type classes

This patch extends the signature of Puppet::Resource#initialize to accept
subclasses of Puppet::Type as arguments. This allows resource_type to be
set during initialzation for some cases and eliminates a later, costly, call to
environment.known_resource_types.

Details

Provenance
Charlie Sharpsteen <chuck@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf0ab1cb5e7b5: Merge pull request #2879 from nfagerlund/docs_exec_exitcodes_windows
Branches
Unknown
Tags
Unknown

Event Timeline

Charlie Sharpsteen <chuck@puppetlabs.com> committed rPU367d1d3ec63f: (PUP-2924) Initialize resources from Type classes (authored by Charlie Sharpsteen <chuck@puppetlabs.com>).Aug 15 2014, 7:00 PM