function

validfiledata

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

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