function

readdata

A built-in CFEngine function in the io category that returns a data container. readdata is not called from the policy on your hosts.

Signature
readdata(string, option)
Parameters
  1. string File name to read ("?(/.*))
  2. option Type of data to read (CSV,YAML,JSON,ENV,auto)
Returns
data
Category
io