puppetlabs/facter — pull request #140 by kbarber (2012-01-06 00:08:48+00:00)
Title: Ticket/1.6.x/11566 windows ec2

This patch adds support for detecting ec2 on windows. This works by modifying
the linux methodology by using arp -a instead of arp -an and searching for the
mac address with a hyphen delimiter (as apposed to a quote).

I've added tests and a sample fixture which adds output from arp -a from a
windows machine.

Thanks to Feifei Jia for contributing the original code.