mapdata
A built-in CFEngine function in the data category that returns a data container. mapdata is not called from the policy on your hosts.
- Signature
mapdata(option, string, string)- Parameters
optionConversion to apply to the mapped string (none,canonify,json,json_pipe)stringPattern based on $(this.k) and $(this.v) as original text (.*)stringCFEngine variable identifier or inline JSON (.*)
- Returns
data- Category
- data