Skip to content

Commit 7992855

Browse files
committed
fix test description and update jsonschema for osinfo
1 parent 4348f0b commit 7992855

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

dsc/tests/dsc_config_test.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Describe 'dsc config test tests' {
1515
type: Microsoft/OSInfo
1616
properties:
1717
bitness: 64
18-
- name: 64bit test 2
18+
- name: Family Test
1919
type: Microsoft/OSInfo
2020
properties:
2121
family: Windows

osinfo/osinfo.dsc.resource.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@
4343
"markdownDescription": "Defines the processor architecture as reported by `uname -m` on the operating system.\n\n[Online documentation][01]\n\n[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#architecture\n"
4444
},
4545
"bitness": {
46-
"type": "string",
47-
"enum": [
48-
"32",
49-
"64",
50-
"unknown"
51-
],
46+
"type": "number",
5247
"title": "Operating system bitness",
5348
"description": "Defines whether the operating system is a 32-bit or 64-bit operating system.\n\nhttps://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#bitness\n",
5449
"markdownDescription": "Defines whether the operating system is a 32-bit or 64-bit operating system.\n\n[Online documentation][01]\n\n[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#bitness\n"

0 commit comments

Comments
 (0)