HomePhorge

(maint) Refactor parser/files find helpers
515c09f3f036Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Refactor parser/files find helpers

Puppet::Parser::Files#find_file and #find_template methods were
performing the same work to vet an absolute path and lookup a module
prior to calling an implementation specific method on that module. The
find_template method had a helper which this commit generalizes to work
for both find_file and find_template.

Details

Provenance
Josh Partlow <joshua.partlow@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb95f436c3359: (PUP-3268) Remove use of templatedir setting from parser/files
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPU515c09f3f036: (maint) Refactor parser/files find helpers (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Dec 4 2014, 6:56 PM