Project

General

Profile

Actions

Bug #3295

open

Solaris release version problems with Facter >= 1.7

Added by Sean Alderman over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In Facter 1.7 the operatingsystemrelease fact for Solaris operating systems has been changed like so:

[root@solaris1:/]# facter -v
1.6.18
[root@solaris1:/]# facter operatingsystemrelease
5.10

Versus the newer Facter:

[root@solaris2:/]# facter -v
1.7.1
[root@solaris2:/]# facter operatingsystemrelease
10_u11

Foreman creates a new Solaris OS object for Solaris 1011 where $major = 1011 and $minor is blank. It would seem that the code to split the major/minor versions is ignoring the _u and smashing the numbers together into the major version.

I haven't experiemented as yet, but I imagine that this causes problems with provisioning as well.


Files

Selection_031.png View Selection_031.png 32.4 KB Solaris OS from a facter 1.7.1 client Sean Alderman, 10/16/2013 06:49 PM

Related issues 1 (1 open0 closed)

Related to Foreman - Feature #4134: Allow non-digit characters in version numbersNew01/20/2014Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Category set to Facts
Actions #2

Updated by Anonymous about 10 years ago

  • Related to Feature #4134: Allow non-digit characters in version numbers added
Actions

Also available in: Atom PDF