Issue #9766 has been updated by Daniel Pittman. Target version deleted (future)
---------------------------------------- Feature #9766: hostname fact doesn't handle hostnames with dots (relative to domainname) https://projects.puppetlabs.com/issues/9766#change-57099 Author: Doug Balmer Status: Accepted Priority: Low Assignee: Dexter Plameras Category: library Target version: Keywords: uname, hostname, posix Branch: Affected Facter version: 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.
