Issue #7682 has been updated by Ben Hughes.

Status changed from Unreviewed to Requires CLA to be signed

This has come up before and it's not something we're going to introduce to a 
1.5.x series patch due to completely smashing POLA I'm afraid.
Changing how many people have their manifests written currently on a point 
release would not be welcomed.

What we are looking to do is introduce an "osfamily" or similar fact, and then 
have more specific "operatingsystem" facts. Have a look at #6679 for more 
details.

(saying that, thank you for the patch, and we'll use it for 1.6.x, if you could 
sign the CLA please).
----------------------------------------
Bug #7682: Scientific Linux operatingsystemrelease is incorrect, other facts 
missing
https://projects.puppetlabs.com/issues/7682

Author: Orion Poplawski
Status: Requires CLA to be signed
Priority: Normal
Assignee: 
Category: library
Target version: 
Keywords: 
Branch: 
Affected Facter version: 1.5.9


    # diff facter-1.5.8 facter-1.5.9
    5d4
    < hardwareisa => x86_64

    17d16
    < macaddress => 00:16:3E:64:2E:18

    25,26c25,27
    < operatingsystem => RedHat
    < operatingsystemrelease => 6.0
    ---
    > operatingsystem => Scientific
    > operatingsystemrelease => 2.6.32-71.29.1.el6.x86_64

    47d50
    < uniqueid => 0a0a0929

    # ls -l /etc/*release
    -rw-r--r--. 1 root root 38 Feb 24 13:12 /etc/redhat-release
    lrwxrwxrwx. 1 root root 14 May  2 19:16 /etc/system-release -> 
redhat-release
    # cat /etc/redhat-release 
    Scientific Linux release 6.0 (Carbon)

$operatingsystemrelease should be 6.0

Where RedHat is used in other places, Scientific should also be in the list.  
The attached patch does that.


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