if facter can not determine the fqdn, use the hostname fact
The \* needs to be escaped for grep to pass
Merge pull request #309 from hunner/fix_greps

The * needs to be escaped for grep to pass
Merge pull request #308 from jonmosco/fix_servername

if facter can not determine the fqdn, use the hostname fact