Issue #7682 has been updated by Andrew Elwell.
hi - is it too late to slip in a second update to this, ie detect 'scientific
linux cern' (which is subtly different from the vanilla version)
# lsb_release --all
LSB Version:
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: ScientificCERNSLC
Description: Scientific Linux CERN SLC release 5.7 (Boron)
Release: 5.7
Codename: Boron
----------------------------------------
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.