puppetlabs/facter — pull request #254 by apenney (2012-07-13 00:08:40+00:00)
Title: Try ifconfig first and then fall back on ip addr show if this fails.

I was looking at facter tickets and noticed http://projects.puppetlabs.com/issues/1346. I thought I'd have a go at tackling this. Right now I just check for ifconfig and then fall back on ip addr show if it doesn't exist. I added a bit of spec testing as well but this doesn't work perfectly right now - it doesn't load the fixtures file and instead uses the local file.

Still I figured it was worth a shot and maybe with some advice I can whip this into shape.