function

hostswithgroup

A built-in CFEngine function in the communication category that returns a list of strings. hostswithgroup is not called from the policy on your hosts.

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