Skip to content

Commit 8e8b3a6

Browse files
authored
Merge pull request #304 from SteveL-MSFT/osinfo-schema
update osinfo schema for proper naming of macOS
2 parents 9afe0f2 + 790e072 commit 8e8b3a6

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

schemas/resources/Microsoft/OSInfo/v0.1.0/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"type": "string",
4949
"enum": [
5050
"Linux",
51-
"MacOS",
51+
"macOS",
5252
"Windows"
5353
],
5454
"title": "Operating system family",

schemas/resources/Microsoft/OSInfo/v0.1.0/schema.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ markdownDescription: |
1212
operation and can't configure the operating system.
1313
1414
[Online documentation][01]
15-
15+
1616
[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource
1717
1818
type: object
@@ -31,7 +31,7 @@ properties:
3131
Returns the unique ID for the OSInfo instance data type.
3232
3333
[Online documentation][01]
34-
34+
3535
[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#id
3636
architecture:
3737
type: string
@@ -44,7 +44,7 @@ properties:
4444
Defines the processor architecture as reported by `uname -m` on the operating system.
4545
4646
[Online documentation][01]
47-
47+
4848
[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#architecture
4949
bitness:
5050
type: string
@@ -58,7 +58,7 @@ properties:
5858
Defines whether the operating system is a 32-bit or 64-bit operating system.
5959
6060
[Online documentation][01]
61-
61+
6262
[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#bitness
6363
codename:
6464
type: string
@@ -71,7 +71,7 @@ properties:
7171
Defines the codename for the operating system as returned from `lsb_release --codename`.
7272
7373
[Online documentation][01]
74-
74+
7575
[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#codename
7676
edition:
7777
type: string
@@ -84,11 +84,11 @@ properties:
8484
Defines the operating system edition, like `Windows 11` or `Windows Server 2016`.
8585
8686
[Online documentation][01]
87-
87+
8888
[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#edition
8989
family:
9090
type: string
91-
enum: [Linux, MacOS, Windows]
91+
enum: [Linux, macOS, Windows]
9292
title: Operating system family
9393
description: |
9494
Defines whether the operating system is Linux, macOS, or Windows.
@@ -98,7 +98,7 @@ properties:
9898
Defines whether the operating system is Linux, macOS, or Windows.
9999
100100
[Online documentation][01]
101-
101+
102102
[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#family
103103
version:
104104
type: string
@@ -111,5 +111,5 @@ properties:
111111
Defines the version of the operating system as a string.
112112
113113
[Online documentation][01]
114-
114+
115115
[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#version

0 commit comments

Comments
 (0)