Stop audit-mode from printing file contents to chef-client output


Hi I’m using chef-client audit-mode to check a rather large text file for a certain string. If it contains that string the audit will fail. However when displaying the audit results the chef-client output will print the entire file contents. How do I disable this?


After asking the irc channel, found the solution to check for the existence of the string as a Boolean check which only prints the Boolean to the screen