Issue #13678 has been updated by Stefan Schulte.

Assignee set to Stefan Schulte
Branch set to https://github.com/stschulte/facter/tree/refactor/1.6.x/13678

I've written something that will currently pass all tests but I still have to 
add a few additional test cases
----------------------------------------
Refactor #13678: Facter should implement its own which command
https://projects.puppetlabs.com/issues/13678#change-59763

Author: Stefan Schulte
Status: Unreviewed
Priority: Normal
Assignee: Stefan Schulte
Category: 
Target version: 
Keywords: 
Branch: https://github.com/stschulte/facter/tree/refactor/1.6.x/13678
Affected Facter version: 


Currently `Facter::Util::Resolution.exec` relies on `which` to check if a 
command can be executed. This basically means that for every command we want to 
execute, we fork a second time just to execute which.

Facter should implement its own which command so we don't need to invoke the 
shell all the time. Puppet already has some similar methods we may be able to 
port to facter.


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