Issue #15215 has been updated by eric sorenson.

Status changed from Unreviewed to Duplicate

Jeff commented on the pull request that this is a subset of #7788, closing as 
dup.
----------------------------------------
Bug #15215: refactor places where we're explicitly referencing LOAD_PATH to 
make them go through the autoloader
https://projects.puppetlabs.com/issues/15215#change-68910

Author: Chris Price
Status: Duplicate
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


We currently have several places around the code where we load ruby code in 
various ways.  Lots of these places directly reference or manipulate the ruby 
LOAD_PATH.

We should isolate all of this kind of logic--and *most especially* any places 
where we are touching LOAD_PATH--to a single location.  In our case the only 
logical place for that is the autoloader.  Thus, we should fix things in 
command_line.rb, application.rb, the *help* face, etc. such that they funnel 
this through the autoloader.

A possible fix for this is here:
https://github.com/cprice-puppet/puppet/commit/860d2ef79f7ee0629d76273a710169b8a5b2d31a

which is part of this pull request:
https://github.com/puppetlabs/puppet/pull/882





-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to