function

First seen , last seen .

hostswithclass

See also: hostswithclass (function-call)

A built-in CFEngine function in the communication category that returns a list of strings. hostswithclass is called 1 time from 1 bundle or body in 1 policy file, on 100 hosts in your infrastructure.

Signature
hostswithclass(string, option)
Parameters
  1. string Class name to look for ([a-zA-Z0-9_]+)
  2. option Type of return value desired (name,address,hostkey)
Returns
slist
Category
communication