Issue #6679 has been updated by Alessandro Franceschi.

Just a side note.
I made my test on a SL6 BETA version so my operatingsystem fact evaluating to 
RedHat might have been due to incomplete conversion from the "upstream vendor".
So while I personally prefer a fact evaluated as "RedHat" rather than 
"Scientific", I surely agree that "Scientific" is better than null (and, yes, 
probably "Scientific" is more appropriate than "Scientific Linux").
James after all is not wrong when saying that it feels "wrong", also 
considering that, for example, CentOS is more compatible to RedHat than SL, but 
it's a PITA, relatively, to update update all the references in modules or 
native types.

So I have no answers, only different concurrent alternatives each one with pros 
and cons but it's important to settle this definitively, in some way or another.

BTW, + 1 for a sort of family breed fact. In some modules I use a custom 
variable, based on operatingsystem and lsb* facts for the same purpose, and I 
think it might be useful in the long term.
----------------------------------------
Bug #6679: Facter 1.5.8 does not identify Scientific Linux
https://projects.puppetlabs.com/issues/6679

Author: James Goddard
Status: Re-opened
Priority: Low
Assignee: 
Category: library
Target version: 1.5.9
Keywords: operatingsystem
Branch: https://github.com/jamtur01/facter/tree/ticket/master/6679


I just started playing with Scientific Linux 6.0, and the first thing I have 
noticed is that the operatingsystem fact has no flag for this distro.  The 
relevant file is /usr/lib/ruby/site_ruby/1.8/facter/operatingsystem.rb, and as 
a first draft, I have added a clause for it (and attached):

39,40d38
<             elsif txt =~ /scientific/i
<                 "Scientific"

Thanks,

Jim Goddard


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