Did you see the re-implementation of 'which' that Stephen Schulte is working on here?
https://github.com/puppetlabs/facter/pull/189 Its taken from Puppet to a certain extent I believe, with some backwards compatible handling that we thought we might need as well to handle existing custom fact assumptions. I think implementing that as a start takes us a long way, once you have control of the executable lookup, you can bend it your own way I believe. So this is most definitely a step #1 IMHO. ken. On Thu, May 17, 2012 at 10:37 PM, Hailee Kenney <hai...@puppetlabs.com> wrote: > There seems to be a lot of Facter tickets that stem from a similar issue: > finding the correct executable. Here are just a few examples: > > https://projects.puppetlabs.com/issues/5013 > https://projects.puppetlabs.com/issues/13396 > https://projects.puppetlabs.com/issues/13678 > https://projects.puppetlabs.com/issues/14541 > > To me, these all seem related to how Facter is determining the path for > external executables. Since there have been a lot of problems around this > issue, it seems that something should be done about it, but it's not clear > what. There have been several proposed fixes on the various tickets. Rather > than dealing with these individual bugs, it would probably be good to come > up with a unified solution for the problem. I was just hoping to get some > opinions on if/how we should do something about this. > > Krzysztof Wilczynski has suggested implementing 'which' inside Facter. We > have some facts that hardcode the path to the executable. > > Thoughts? > > > Hailee Kenney > > Development Intern > > Puppet Labs, Inc. > > hai...@puppetlabs.com > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to puppet-dev@googlegroups.com. > To unsubscribe from this group, send email to > puppet-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.