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
Server Team, which is subscribed to facter in 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-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to