Issue #9766 has been reported by Doug Balmer.
----------------------------------------
Bug #9766: hostname fact is incorrect
https://projects.puppetlabs.com/issues/9766
Author: Doug Balmer
Status: Unreviewed
Priority: Normal
Assignee: Ken Barber
Category:
Target version:
Keywords:
Branch:
Affected Facter version: 1.6.1rc4
Some of us for various reasons like to have "hostname"s that are "relative
names" that could contain a period. "example.com" below is the domain name.
[email protected]:/usr/lib/ruby/site_ruby/1.8/facter # rpm -qa| grep puppet
puppet-2.6.6-1.el5
[email protected]:/usr/lib/ruby/site_ruby/1.8/facter # rpm -qa| grep facter
facter-1.5.8-1
[email protected]:/usr/lib/ruby/site_ruby/1.8/facter # hostname
pdms01.lpr
[email protected]:/usr/lib/ruby/site_ruby/1.8/facter # hostname -f
pdms01.lpr.example.com
[email protected]:/usr/lib/ruby/site_ruby/1.8/facter # uname -n
pdms01.lpr
[email protected]:/usr/lib/ruby/site_ruby/1.8/facter # sysctl kernel.hostname
kernel.hostname = pdms01.lpr
[email protected]:/usr/lib/ruby/site_ruby/1.8/facter # facter hostname
pdms01
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.