Issue #9384 has been reported by Arnau Bria.
----------------------------------------
Bug #9384: Scientific Linux & facter >1.5.8 & operatingsystem &
lsbmajdistrelease
https://projects.puppetlabs.com/issues/9384
Author: Arnau Bria
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version: 1.6.x
Keywords:
Branch:
Affected Facter version: 1.5.9
facter versionmajor to 1.5.8 does not report lsbmajdistrelease
correctly:
$ facter -v
1.5.8
$ facter lsbmajdistrelease
5
# facter -v
1.6.0
# facter lsbmajdistrelease
#
the problems com from operatingsystem fact in both versions:
1.5.8 reports SL as RedHat and 1.5.9 reports it as Scientifc, so
lsbmajdistrelease.rb must be updtaed to:
confine :operatingsystem => %w{Linux Fedora RedHat CentOS SuSE SLES Debian
Ubuntu Gentoo OEL OVS GNU/kFreeBSD Scientific}
as
#grep Scientific /usr/lib/ruby/site_ruby/1.8/facter/operatingsystem.rb
reports the correct OS:
facter 1.5.9:
# grep Scientific /usr/lib/ruby/site_ruby/1.8/facter/operatingsystem.rb
"Scientific"
facter 1.5.8
# grep Scientific /usr/lib/ruby/site_ruby/1.8/facter/operatingsystem.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.