Issue #13678 has been updated by Jeff Weiss.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version set to 1.6.10

Merged with 
<https://github.com/puppetlabs/facter/commit/ec0e80b9e79673ce5dc61a9eeb0f11d95a5ed2a2>
----------------------------------------
Refactor #13678: Facter should implement its own which command
https://projects.puppetlabs.com/issues/13678#change-63637

Author: Stefan Schulte
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: library
Target version: 1.6.10
Keywords: 
Branch: https://github.com/puppetlabs/facter/pull/189
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