/pdb/query/v4/facts/dmi via REST API ,doesn't get the BIOS,Board details for windows 7.But for a ubuntu machine I am able to obtain the same.
I amusing puppet facts to obtain machine related information. As a matter of fact two fields of interest is BIOS ,Board details.When I use the Rest API /pdb/query/v4/facts/dmi,the above information is missing for windows 7.But the same is available for an Ubuntu machine-
Here is the response what I get back from the server-
[ {
"certname" : "ubuntu-optiplex-790.sdcorp.global.sandisk.com",
"environment" : "production",
"name" : "dmi",
"value" : {
"bios" : {
"release_date" : "08/06/2013",
"vendor" : "Dell Inc.",
"version" : "A15"
},
"board" : {
"manufacturer" : "Dell Inc.",
"product" : "0200DY",
"serial_number" : "..CN1374007O02O2."
},
"chassis" : {
"type" : "Desktop"
},
"manufacturer" : "Dell Inc.",
"product" : {
"name" : "OptiPlex 780",
"serial_number" : "89667BS",
"uuid" : "44454C4C-3900-1036-8036-B8C04F374253"
}
}
}, {
"certname" : "sdin-swt-at-04.sdcorp.global.sandisk.com",
"environment" : "production",
"name" : "dmi",
"value" : {
"manufacturer" : "American Megatrends Inc.",
"product" : {
"name" : "All Series",
"serial_number" : "System Serial Number"
}
}
} ]
Please note the BIOS, Board related details are missing for the second node. Even the serial number is missing.