puppetlabs/facter — pull request #265 by daniel-pittman (2012-07-20 02:27:28+00:00)
Title: Faster MAC address load on Linux via sysfs

When sysfs is available we can work out the MAC address of the primary
interface much faster than shelling out to ifconfig delivers.

This is about an order of magnitude faster on my machine, being 0.12ms vs
1.5ms when using the external process.

Signed-off-by: Daniel Pittman