Issue #15159 has been updated by Stefan Schulte.

Category set to library
Status changed from Unreviewed to Needs More Information
Assignee set to Joshua Corbin

Joshua Corbin wrote:
[...]
> So it looks to me like the confine match in lsbmajdistrelease is working, but 
> the one in lsbdistrelease isn't due to using the :linux symbol rather than 
> the string "Linux".

This shouldn't matter because the confine method compares the lowercase 
stringification of both values. But the lsb facts have changed from parsing 
`lsb_release -a` to execute `lsb_release -v/-r/-d` etc. So can you please run 
the following on the commandline:

<pre>
# lsb_release -a
# lsb_release -r
# lsb_release -r -s
</pre>

On my box this will e.g. return
<pre>
# lsb_release -a
LSB Version:    n/a
Distributor ID: Gentoo
Description:    Funtoo Linux - baselayout 2.1.8
Release:        n/a
Codename:       n/a
# lsb_release -r
Release:        n/a
# lsb_release -r -s
n/a
</pre>

----------------------------------------
Bug #15159: lsbmajdistrelease is undefined on RedHat with Facter 1.6.6
https://projects.puppetlabs.com/issues/15159#change-65630

Author: Joshua Corbin
Status: Needs More Information
Priority: High
Assignee: Joshua Corbin
Category: library
Target version: 
Keywords: 
Branch: 
Affected Facter version: 1.6.6


Systems running 1.6.4 work fine, not sure about 1.6.5.

The problem appears to be a regression introduced by 
commit:2eb4ede4eb7e5bc66fc11cbef0c9fa80c245c662, which confined 
lsbmajdistrelease to systems with operatingsystem set to "Linux" or 
"GNU/kFreeBSD".  The linux distro names, like "CentOS", "RedHat", "Debian", 
"Ubuntu" need to be returned to the confine match in lsbmajdistrelease.rb.



-- 
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