Feature #10444
Add identification of motherboards to Facter
| Status: | Closed | Start date: | 11/01/2011 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | library | |||
| Target version: | 1.6.4 | |||
| Keywords: | Affected Facter version: | |||
| Branch: | https://github.com/puppetlabs/facter/pull/92 | |||
| Votes: | 0 |
Description
Currently, Facter (as part of the manufacturer.rb) can get information from DMI about the manufacturer of a system. This can be unreliable on “whitebox” machines, where the manufacturer/product name/serial number fields are left blank.
For example, on a Dell system, the output of dmidecode includes:
Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: PowerEdge R515
Version: Not Specified
Serial Number: 63XXXQ1
UUID: 4C4XXXXXX-0033-5110-8052-B6C04F4E5131
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Handle 0x0200, DMI type 2, 9 bytes
Base Board Information
Manufacturer: Dell Inc.
Product Name: 03X0MN
Version: A01
Serial Number: ..CNXXXX313A0459.
Asset Tag: Not Specified
But on a “whitebox” machine, the output looks like:
Handle 0x0001, DMI type 1, 25 bytes
System Information
Manufacturer: Intel
Product Name:
Version:
Serial Number:
UUID: 6BXXXX05-7162-11DC-618F-000423DDDB14
Wake-up Type: Power Switch
Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: Intel
Product Name: SE7520BD2D
Version: FRU Ver 0.01
Serial Number: BZB26XXX0124
Adding identification of motherboards would help augment this information.
History
Updated by Jason Gill 7 months ago
I have submitted a pull request with a simple patch over at github:
https://github.com/puppetlabs/facter/pull/92
The patch includes the addition of facts for “boardmanufacturer”, “boardproductname”, and “boardserialnumber”.
Suggestions are welcomed!
Updated by Adrien Thebo 7 months ago
- Category set to library
- Status changed from Unreviewed to In Topic Branch Pending Review
- Branch set to https://github.com/puppetlabs/facter/pull/92
Updated by Adrien Thebo 6 months ago
- Status changed from In Topic Branch Pending Review to Merged - Pending Release
Merged into 1.6.x in commit:4d6e991d228008c794f790cee2f4ad1b08925628
Updated by Matthaus Litteken 6 months ago
- Status changed from Merged - Pending Release to Closed
- Target version set to 1.6.4
released in facter 1.6.4rc1