function

peerleader

A built-in CFEngine function in the communication category that returns a string. peerleader is not called from the policy on your hosts.

Signature
peerleader(string, string, int)
Parameters
  1. string File name of host list ("?(/.*))
  2. string Comment regex pattern (.*)
  3. int Peer group size (2,64)
Returns
string
Category
communication