puppetlabs/facter — pull request #520 by joshcooper (2013-08-19 22:24:38+00:00)
Title: (#12116) Don't break on the first interface

Previously, if there were multiple interfaces with IPEnabled on Windows,
we would always use the DNSDomain value from the first interface, even
if it was nil or empty.

This commit changes the domain fact to look for the first non-nil and
non-empty DNSDomain value.