Feature #1793

Support for manufacture, productname, serialnumber and type on Solaris 10 x86

Added by Jim Pirzyk over 3 years ago. Updated over 3 years ago.

Status:Closed Start date:12/03/2008
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:library
Target version:1.5.3
Keywords: Affected Facter version:
Branch:
Votes: 0

Description

On Solaris 10 x86 systems, there is the command smbios, which will display the same information that dmidecode does for Linux and *BSD systems. Here is a patch that will allow smbios output to be used. I had to modify the query structure passed in so I could do some field mappings. Currently the smbios uses “Product:” for “Product Name:” and “Chassis Type:” for “Type:”

The one outstanding issue I could not resolve is the ‘(Chassis )?Type:’ field, in dmidecode it is capitalized, in smbios it is not. For example, all VMware VMs return the value ‘Other’ on Linux/*BSD systems where as on Solaris 10 x86, it is ‘other’. Both have the value 0x1. Did not want to special case the call to .capitalize for just this field.

manufacturer.rb.patch (2.2 kB) Jim Pirzyk, 12/03/2008 02:46 pm

History

Updated by James Turnbull over 3 years ago

  • Category set to library
  • Status changed from Unreviewed to Closed
  • Target version set to 1.5.3

Pushed in commit:99833a1b5b32e87dc73f66d16fc57ba91c070b13 in branch master.

Also available in: Atom PDF