We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74a6e05 + 2426c3e commit 36737f5Copy full SHA for 36737f5
reference/functions/hostswithclass.markdown
@@ -12,13 +12,13 @@ published: true
12
`field` of hosts on which `classs` is set.
13
14
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.
+hostnames, ip-addresses or public key SHAs of hosts that have a given class.
16
17
**Note:** This function only works locally on the hub, but allows the hub to construct custom
18
configuration files for (classes of) hosts. Hosts are selected based on the
19
classes set during the most recently collected agent run.
20
21
-[%CFEngine_function_attributes(class, field)%]
+[%CFEngine_function_attributes(class, field, hostkey)%]
22
23
**Example:**
24
0 commit comments