Issue #5279 has been updated by Paul Nasrat.

Yeah it's well known hence the comment in [[ArchitectureForTwoDotOh]]

* Facts shouldn’t be in lib/ (should probably be /var somewhere)

Changing this in 1.x would break a lot of peoples setup, sadly it tends to bite 
developers/CI systems worst, along with a few cases of multiple installs.
----------------------------------------
Bug #5279: Facter util loader loads files from everywhere in $LOAD_PATH, makes 
tests fail
https://projects.puppetlabs.com/issues/5279

Author: Matt Robinson
Status: Duplicate
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 


I'm  not entirely sure if this is a problem with implementation also.  However, 
for testing it means that if you have a different version of facter installed 
on the machine than the version of the code you want to test, the test may end 
up running the wrong code.

lib/facter/util/loader.rb

search_path and load_all combine to load every file in the load path, which may 
be facter running from source AND facter installed in whatever directory the 
load path normally looks in.


-- 
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