From 8258f78228e5b3651986389c94e726c005d108ec Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Wed, 29 Jul 2026 13:39:02 +0200 Subject: [PATCH 1/2] Added syntax highlighting to README.md for groups promise type Signed-off-by: Lars Erik Wik --- promise-types/groups/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/promise-types/groups/README.md b/promise-types/groups/README.md index b2637c7..c299c25 100644 --- a/promise-types/groups/README.md +++ b/promise-types/groups/README.md @@ -18,7 +18,7 @@ The `groups` promise type helps managing local groups, letting you ensure some u Present group `foo` including user `alice` and `bob`, but excluding user `malcom`: -``` +```cf3 @if minimum_version(3.20) body members foo { @@ -43,7 +43,7 @@ bundle agent main Present group `bar` with GID `123` including only user `alice`: -``` +```cf3 @if minimum_version(3.20) body members bar { @@ -66,7 +66,7 @@ bundle agent main Absent group `baz`: -``` +```cf3 bundle agent main { groups: From 725a21488f1d234f9bfd7637cdf70b4213fe9e05 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Wed, 29 Jul 2026 13:43:29 +0200 Subject: [PATCH 2/2] Formatted README.md for groups promise type Signed-off-by: Lars Erik Wik --- promise-types/groups/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/promise-types/groups/README.md b/promise-types/groups/README.md index c299c25..0875416 100644 --- a/promise-types/groups/README.md +++ b/promise-types/groups/README.md @@ -4,15 +4,15 @@ The `groups` promise type helps managing local groups, letting you ensure some u ## Requirements -* Unix-like system. +- Unix-like system. ## Attributes -| Name | Type | Description | Mandatory | Default | -| --------- | --------------------------- | ----------------------------------------------------------------------------------------------- | --------- | ------- | -| `policy` | `string` | Whether group should be present or absent on the local host | no | present | -| `members` | `string` / `data` / `body` | JSON string / data container / custom body containing attributes "include", "exclude" & "only" | no | - | -| `gid` | `integer` | The GID of the group | no | - | +| Name | Type | Description | Mandatory | Default | +| --------- | -------------------------- | ---------------------------------------------------------------------------------------------- | --------- | ------- | +| `policy` | `string` | Whether group should be present or absent on the local host | no | present | +| `members` | `string` / `data` / `body` | JSON string / data container / custom body containing attributes "include", "exclude" & "only" | no | - | +| `gid` | `integer` | The GID of the group | no | - | ## Examples