Issue #9766 has been updated by Ken Barber.

Priority changed from Normal to Low
Keywords set to uname, hostname, posix
Affected Facter version changed from 1.6.1 to 1.6.2rc1

So Nigel,

Right now the discussion has continued in the thread inidicated above and I 
think some good points have been made. I can't get traction on priority as it 
seems only a couple of people are wanting this now but I'm of the believe that 
the solution proposed is not a terrible one to work around this issue. In that 
we create a set of new facts:

    uname_nodename: is uname -n only and isn't contrived
    uname_release: is uname -r
    uname_version: is uname -v
    ...etc...

    This duplicates a lot of facts in behaviour - but sticks to the posix
    compliance interpretation only.

Dexter Plameras (easybeats - an old colleague of mine) has volunteered to help 
write a prototype. I'll get him to join redmine and we can probably assign it 
to him if he still wants to help.

What do you think? I'm going to mark this as 'low' because I didn't get a lot 
of people screaming for it - but its still important to some people - while it 
does have a purism feel about it - the solution does align more with the posix 
definitions.
----------------------------------------
Bug #9766: hostname fact doesn't handle hostnames with dots (relative to 
domainname)
https://projects.puppetlabs.com/issues/9766

Author: Doug Balmer
Status: Needs Decision
Priority: Low
Assignee: Nigel Kersten
Category: library
Target version: 
Keywords: uname, hostname, posix
Branch: 
Affected Facter version: 1.6.2rc1


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.

Reply via email to