New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify wording of `ERROR: Please take a look at your interval settings` #149

jerryaldrichiii opened this Issue Nov 8, 2016 · 0 comments


None yet
3 participants

jerryaldrichiii commented Nov 8, 2016


When running this cookbook for the first time and specifying an interval, the user is presented with this error:

Chef::Log.error 'Please take a look at your interval settings'

This may lead the user to believe that something is configured incorrectly. However, they may be getting this error because this returned false:

seconds_since_last_run > interval

Possible Solution

Could we modify this error to be a warning and say something similar to:

Chef::Log.warn 'Audit run skipped due to interval configuration'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment