Project

General

Custom queries

Profile

Actions

Bug #4570

open

AIX Operating System version is shown in a strange way.

Added by Ruediger Mueck about 11 years ago. Updated over 5 years ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
Facts
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

In /usr/share/foreman/app/services/facts_parser.rb

The AIX Version is constructed in a strange way. I think it would be better
to follow the general construction scheme for os versions.

31 elsif os_name[/AIX/i]
32 majoraix, tlaix, spaix, yearaix = orel.split("-")
33 orel = majoraix + "." + tlaix + spaix

Result:
AIX 7100.0301

I think a better way would be:

34 major = majoraix0
35 minor = majoraix1
36 orel = major + "." + minor

Result:
AIX 7.1


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #1489: AIX not showing up on Hosts pageClosed02/08/2012Actions
Related to Foreman - Bug #105: Operating Major version too short for AIXResolved12/01/2009Actions
#1

Updated by Dominic Cleal about 11 years ago

  • Related to Bug #1489: AIX not showing up on Hosts page added
#2

Updated by Dominic Cleal about 11 years ago

  • Related to Bug #105: Operating Major version too short for AIX added
#3

Updated by Josh Baird about 11 years ago

  • Assignee set to Josh Baird
#4

Updated by Dominic Cleal about 11 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.9.0
#14

Updated by Anonymous about 11 years ago

  • Target version changed from 1.9.0 to 1.8.4
#15

Updated by Anonymous about 11 years ago

  • Target version changed from 1.8.4 to 1.8.3
#16

Updated by Anonymous about 11 years ago

  • Target version changed from 1.8.3 to 1.8.4
#17

Updated by Anonymous about 11 years ago

  • Target version changed from 1.8.4 to 1.8.3
#18

Updated by Anonymous about 11 years ago

  • Target version changed from 1.8.3 to 1.8.2
#19

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.8.2 to 1.8.1
#20

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.8.1 to 1.8.0
#21

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.8.0 to 1.7.5
#22

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.7.5 to 1.7.4
#23

Updated by Anonymous over 10 years ago

  • Target version changed from 1.7.4 to 1.7.3
#24

Updated by Dominic Cleal over 10 years ago

  • Target version changed from 1.7.3 to 1.7.2
#25

Updated by Tomer Brisker almost 7 years ago

  • Target version deleted (1.7.2)
Actions

Also available in: Atom PDF