fixes saltstack/salt#63131 add boardname grain

This commit is contained in:
nicholasmhughes 2022-11-28 17:24:21 -05:00 committed by Megan Wilhite
parent 36a4c99a24
commit 07b5980bf4
3 changed files with 4 additions and 0 deletions

1
changelog/63131.added Normal file
View file

@ -0,0 +1 @@
Add boardname grain

View file

@ -3086,6 +3086,7 @@ def _hw_data(osdata):
Provides
biosversion
biosvendor
boardname
productname
manufacturer
serialnumber
@ -3105,6 +3106,7 @@ def _hw_data(osdata):
sysfs_firmware_info = {
"biosversion": "bios_version",
"biosvendor": "bios_vendor",
"boardname": "board_name",
"productname": "product_name",
"manufacturer": "sys_vendor",
"biosreleasedate": "bios_date",

View file

@ -2951,6 +2951,7 @@ def test__hw_data_linux_empty():
"biosreleasedate": "",
"biosversion": "",
"biosvendor": "",
"boardname": "",
"manufacturer": "",
"productname": "",
"serialnumber": "",