HomePhorge

Only cache module_directories once settings are initialized
d93bf62c546aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Only cache module_directories once settings are initialized

Calling module_directories before settings are initialized (and therefore
before the modulepath is known) returns an empty array. We probably don't want
to cache this, and it might interfere with loading from the modulepath once it
is initialized.

Details

Provenance
Patrick Carlisle <patrick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU22c04da56796: Merge branch 'environment-performance' into 3.0rc
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPUd93bf62c546a: Only cache module_directories once settings are initialized (authored by Patrick Carlisle <patrick@puppetlabs.com>).Jul 6 2012, 2:13 AM