function

readintarray

A built-in CFEngine function in the io category that returns an integer. readintarray is not called from the policy on your hosts.

Signature
readintarray(string, string, string, string, int, int)
Parameters
  1. string Array identifier to populate ([a-zA-Z0-9_$(){}\[\].:]+)
  2. string File name to read ("?(/.*))
  3. string Regex matching comments (.*)
  4. string Regex to split data (.*)
  5. int Maximum number of entries to read (0,99999999999)
  6. int Maximum bytes to read (0,99999999999)
Returns
int
Category
io