Issue #7682 has been updated by Tom Brown.

This is strange... 

PARTS of the patch made it into 1.6.0 ... e.g. operatingsystem.rb but NOT 
operatingsystemrelease.rb ?? I got a rude shock when updating to the rpmforge 
1.6.0 version of factor suddenly broke my manifests... 

[root@nine ~]# facter | grep ^operating
operatingsystem => Scientific
operatingsystemrelease => 2.6.32-71.el6.i686

The rpmforge folks PULLED out the working patch because "upstream" included 
it... or PART OF IT :( as the case may be.

-Tom

----------------------------------------
Bug #7682: Scientific Linux operatingsystemrelease is incorrect, other facts 
missing
https://projects.puppetlabs.com/issues/7682

Author: Orion Poplawski
Status: In Topic Branch Pending Merge
Priority: Normal
Assignee: 
Category: library
Target version: 
Keywords: 
Branch: https://github.com/adrienthebo/facter/tree/ticket%2Fmaster%2F7682
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