hashmatch
A built-in CFEngine function in the data category that returns a class. hashmatch is not called from the policy on your hosts.
- Signature
hashmatch(string, option, string)- Parameters
stringFilename to hash ("?(/.*))optionHash or digest algorithm (md5,sha1,sha256,sha384,sha512)stringASCII representation of hash for comparison ([a-zA-Z0-9_$(){}\[\].:]+)
- Returns
context- Category
- data