puppetlabs/facter — pull request #240 by trlinkin (2012-06-14 19:33:14+00:00)
Title: Bug #15001

I did not want to upstage the previous submitted solution to this problem. However, I did want to submit a change that supported unit testing. I did not fully qualify the 'ip' command since I see 'Facter::Util::Resolution.exec' now supports an internal 'which like' functionality that does not need to fork, and also checks in '/sbin' by default. I'll leave it up to others to convert and write tests for the other kernel types.