puppetlabs/facter — pull request #687 by branan (2014-06-02 22:15:40+00:00)
Title: (FACT-179) Resolve fqdn fact when domain is empty

Previously, the fqdn fact would only resolve if both hostname and
domain were available on a host. Having a nil result when `hostname
-f` would return just the hostname is surprising to users, and we
should instead simply return the hostname when we cannot resolve a
domain.