Skip to content

Commit 36737f5

Browse files
authored
Merge pull request #3387 from victormlg/hostswithclass-hostkey
Added hostkey field to hostswithclass
2 parents 74a6e05 + 2426c3e commit 36737f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/functions/hostswithclass.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ published: true
1212
`field` of hosts on which `classs` is set.
1313

1414
On CFEngine Enterprise, this function can be used to return a list of
15-
hostnames or ip-addresses of hosts that have a given class.
15+
hostnames, ip-addresses or public key SHAs of hosts that have a given class.
1616

1717
**Note:** This function only works locally on the hub, but allows the hub to construct custom
1818
configuration files for (classes of) hosts. Hosts are selected based on the
1919
classes set during the most recently collected agent run.
2020

21-
[%CFEngine_function_attributes(class, field)%]
21+
[%CFEngine_function_attributes(class, field, hostkey)%]
2222

2323
**Example:**
2424

0 commit comments

Comments
 (0)