function

First seen , last seen .

filter

See also: filter (function-call)

A built-in CFEngine function in the data category that returns a list of strings. filter is called 10 times from 5 bundles and bodies in 4 policy files, on 100 hosts in your infrastructure.

Signature
filter(string, string, option, option, int)
Parameters
  1. string Regular expression or string (.*)
  2. string CFEngine variable identifier or inline JSON (.*)
  3. option Match as regular expression if true, as exact string otherwise (true,false,yes,no,on,off)
  4. option Invert matches (true,false,yes,no,on,off)
  5. int Maximum number of matches to return (0,99999999999)
Returns
slist
Category
data