Issue #7138 has been updated by Ben Hughes.

Status changed from Unreviewed to Accepted

Thank you for the patches!


The ones in /proc are deliberate I'm afraid due to a linux/ruby bug 
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/155744

>From https://projects.puppetlabs.com/issues/4466

But I don't believe the others to be, so thanks.
----------------------------------------
Bug #7138: Facter use exec + cat ( or exec = hostname ) when not needed
https://projects.puppetlabs.com/issues/7138

Author: Michael Scherer
Status: Accepted
Priority: Low
Assignee: 
Category: 
Target version: 1.5.9
Keywords: 
Branch: 
Affected Facter version: 


In various place in the code, facter use Facter::Util::Resolution.exec while 
this could be avoided, most notably when reading file with cat.
I have patches that I can split if needed  to use either ruby functions ( for 
hostname ), or File::open.
 


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