Project

General

Profile

Bug #1176

SLES (SUSE) operatingsystem not displaying minor version?

Added by Oliver Weinmann almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Importers
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Hi,

When addind SLES based hosts to foreman it only displays them as SLES 11. Some of these hosts are SLES 11.1 and some are 11.0.

I checked the facts provided by facter and it does provide the correct values:

vb7542:~ # facter | grep oper
operatingsystem => SLES
operatingsystemrelease => 11.1

gedaiv106:~ # facter | grep oper
operatingsystem => SLES
operatingsystemrelease => 11.0

Regards,
Oliver


Related issues

Has duplicate Foreman - Bug #1379: SUSE OS defined more generically if lsb is installedDuplicate2011-12-07

Associated revisions

Revision 2e724820 (diff)
Added by Ohad Levy over 7 years ago

fixes #1176 - SLES (SUSE) operatingsystem not displaying minor version

Revision 0eeeee86 (diff)
Added by Oliver Weinmann over 7 years ago

fixes #1176 - SLES still did not display correct minor version

History

#1 Updated by Ohad Levy almost 8 years ago

  • Project changed from Installer to Foreman

#2 Updated by Oliver Weinmann over 7 years ago

Hi,

I think I found the reason. Looking at the facts of a SLES 9.4 machine and a SLES 11 machine there are 2 new facts introduced:

lsbdistrelease

and

lsbdistmajrelease

both point to 11 which is correct. But this is the problem if they are used in foreman. operatingsystemrelease should be used as this is correct.

Can you please check?

Regards,
Oli

#3 Updated by Ohad Levy over 7 years ago

  • Category set to Importers
  • Assignee set to Ohad Levy
  • Target version set to 1.0

#4 Updated by Ohad Levy over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF