puppetlabs/facter

dmidecode system information version field

jcpunk opened this issue · 3 comments

Use Case

Some manufactures put their model information under "Version" others under "Product Name". Having both will help include the expected information. The "Family" field may also be useful

Describe the Solution You Would Like

Include the Version field from the dmi information

Describe Alternatives You've Considered

Weird local hacks

Additional Context

From a Dell system:

System Information
        Manufacturer: Dell Inc.
        Product Name: Precision 3660
        Version: Not Specified
        Serial Number: D7DJSAY
        UUID: 4c4caa44-00a7-3a10-804a-c4c0bb37c933
        Wake-up Type: Power Switch
        SKU Number: 0A9F
        Family: Precision

From a Lenovo system:

System Information
        Manufacturer: LENOVO
        Product Name: 30C6S3WT00
        Version: ThinkStation P330
        Serial Number: MA09AC3D
        UUID: be1aa8a2-a3da-e9b1-bfc5-00ddd190e433
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_30C6_BU_Think_FM_ThinkStation P330
        Family: ThinkStation P330

From a Supermicro system:

System Information
        Manufacturer: Supermicro
        Product Name: X9DRW
        Version: 0123456789
        Serial Number: 0123456789
        UUID: 00000000-0000-0000-0000-0000000000
        Wake-up Type: Power Switch
        SKU Number: To be filled by O.E.M.
        Family: To be filled by O.E.M.

From a HP system:

System Information
        Manufacturer: HPE
        Product Name: ProLiant DL380 Gen10
        Version: Not Specified
        Serial Number: CD29A00ANK
        UUID: 3738aa38-3b30-5ac3-32a9-323dd04c4e4b
        Wake-up Type: Power Switch
        SKU Number: 868703-B21
        Family: ProLiant

From an Asus system:

System Information
        Manufacturer: ASUSTeK COMPUTER INC.
        Product Name: RS720A-E11-RS24U
        Version: 00
        Serial Number: NAS0SD003059
        UUID: 78d8a699-a4cd-270e-9ac2-0b421ddcabaaa
        Wake-up Type: Power Switch
        SKU Number: SKU
        Family: Server

From an Intel system:

System Information
        Manufacturer: Intel(R) Client Systems
        Product Name: NUC10i7FNH
        Version: K61081-302
        Serial Number: GEFN00000000
        UUID: 32102a1f-30ea-1a60-801a-1c690a6aaf53
        Wake-up Type: Power Switch
        SKU Number: BXNUC10i7FNH
        Family: FN

Ace:

System Information
        Manufacturer: Ace Computers
        Product Name: Ace
        Version: 0123456789
        Serial Number: [12345678]
        UUID: 3f1f2200-asdf-11ed-8000-7cc25523d138
        Wake-up Type: Power Switch
        SKU Number: To be filled by O.E.M.
        Family: To be filled by O.E.M.

Tyan

        Manufacturer: TYAN
        Product Name: B5630G62FV10HR
        Version: empty
        Serial Number: empty
        UUID: 30560000-xxxx-4539-3442-49323030314b
        Wake-up Type: Power Switch
        SKU Number: empty
        Family: empty```

Facter could fairly easily include product version information. I think we just need to include product_version in

board_serial chassis_asset_tag chassis_type sys_vendor product_name