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
stringFile name to read ("?(/.*))optionType of data to read (CSV,YAML,JSON,ENV,auto)
- Returns
context- Category
- io