countclassesmatching
A built-in CFEngine function in the utils category that returns an integer. countclassesmatching is not called from the policy on your hosts.
- Signature
countclassesmatching(string, [string], ...)- Parameters
stringRegular expression (.*)stringTag regular expression (.*)
Variadic: at least 1 arguments.- Returns
int- Category
- utils