HomePhorge

(maint) Untie parser/files and module
718bdd7469c8Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Untie parser/files and module

The parser/files module was explicitly handling
Puppet::Module::InvalidName, forcing it to require puppet/module. These
errors are being handled by Puppet::Node::Environment at a lower layer,
and we no longer need to couple module and parser/files.

In addition, Pupper::Module#match_manifest ensures that init.pp is
always added if present, which means that explicitly searching for
init.pp would return an array with the init.pp file listed twice. Hence
the added uniq.

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPU718bdd7469c8: (maint) Untie parser/files and module (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Dec 4 2014, 6:56 PM