Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update osinfo schema for proper naming of macOS #304

Merged
merged 2 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schemas/resources/Microsoft/OSInfo/v0.1.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"type": "string",
"enum": [
"Linux",
"MacOS",
"macOS",
"Windows"
],
"title": "Operating system family",
Expand Down
18 changes: 9 additions & 9 deletions schemas/resources/Microsoft/OSInfo/v0.1.0/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ markdownDescription: |
operation and can't configure the operating system.

[Online documentation][01]

[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource

type: object
Expand All @@ -31,7 +31,7 @@ properties:
Returns the unique ID for the OSInfo instance data type.

[Online documentation][01]

[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#id
architecture:
type: string
Expand All @@ -44,7 +44,7 @@ properties:
Defines the processor architecture as reported by `uname -m` on the operating system.

[Online documentation][01]

[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#architecture
bitness:
type: string
Expand All @@ -58,7 +58,7 @@ properties:
Defines whether the operating system is a 32-bit or 64-bit operating system.

[Online documentation][01]

[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#bitness
codename:
type: string
Expand All @@ -71,7 +71,7 @@ properties:
Defines the codename for the operating system as returned from `lsb_release --codename`.

[Online documentation][01]

[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#codename
edition:
type: string
Expand All @@ -84,11 +84,11 @@ properties:
Defines the operating system edition, like `Windows 11` or `Windows Server 2016`.

[Online documentation][01]

[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#edition
family:
type: string
enum: [Linux, MacOS, Windows]
enum: [Linux, macOS, Windows]
title: Operating system family
description: |
Defines whether the operating system is Linux, macOS, or Windows.
Expand All @@ -98,7 +98,7 @@ properties:
Defines whether the operating system is Linux, macOS, or Windows.

[Online documentation][01]

[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#family
version:
type: string
Expand All @@ -111,5 +111,5 @@ properties:
Defines the version of the operating system as a string.

[Online documentation][01]

[01]: https://learn.microsoft.com/powershell/dsc/reference/microsoft/osinfo/resource#version
Loading