dayglojesus / managedmac

Comprehensive Puppet module for OS X.
http://dayglojesus.github.io/managedmac/
Apache License 2.0
62 stars 21 forks source link

Add Facter fact: macaddress_primary #51

Closed dayglojesus closed 9 years ago

dayglojesus commented 9 years ago

Variable network order and removable devices pose a problem for anyone required to authoritatively identify an asset using the MAC address of the device.

While Puppet can enumerate network order and BSD device names, it does not identify the primary builtin network adapter.

Create a new Facter fact that can facilitate identification of the host by its primary MAC.

dayglojesus commented 9 years ago

change the name of the fact, but it is now there. Fact will report the MAC for the first builtin non-expansion bus Ethernet device.

added in 0.5.7