Looks like this is fixed in facter-1.7.0-1ubuntu1 (saucy):

|     elsif domain = Facter::Util::Resolution.exec('dnsdomainname') \
|       and domain =~ /.+/
|
|       return_value = domain

In facter-1.6.5-1ubuntu1.2 (precise), it looks like this:

|     elsif domain = Facter::Util::Resolution.exec('dnsdomainname') \
|       and domain =~ /.+\..+/
|
|       domain


Regards,

Haw

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028268

Title:
  Bareword dns domain makes facter return incorrect info

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/facter/+bug/1028268/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to