HomePhorge

(PUP-3190) Don't assume puppet is in a lib dir
0447ea027196Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3190) Don't assume puppet is in a lib dir

The loaders previously assumed that any installation of puppet would be
under a directory called lib. This holds true when running puppet from
source (during development), or in some package cases, but is not
generally true. This simplifying assumption was made so that the loading
path for both puppet system extensions (built in functions) and module
extensions could be loaded in the same manner: find the root of the
extender and loading code from lib/puppet/....

This changes to loading to instead only assume that there is a puppet
directory and not the name of the parent. This, however, forces the
loader for modules to become specialized to only be able to find ruby
extentions, because they are in the 'lib' directory, which is how the
loader must now be configured.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU1681684857c6: Merge remote-tracking branch 'upstream/master' into stable
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPU0447ea027196: (PUP-3190) Don't assume puppet is in a lib dir (authored by Andrew Parker <andy@puppetlabs.com>).Sep 8 2014, 7:18 PM