audit
audit copied to clipboard
The ruby files in files/ need to be moved into libraries/
When Chef::Config[:no_lazy_load] = true
is set in config.rb the files will not get synch'd and chef-client will error with:
LoadError
---------
cannot load such file -- /private/var/chef/cache/cookbooks/audit/files/default/handler/audit_report
The files that are in files/
or in templates/
need to be consumed by cookbook_file
or template
resources explicitly. Those aren't general-purpose file directories and lazy_loading breaks this behavior.
We found this in our own internal use at Chef where we had lazy loading turned on, and this prevented using the audit cookbook.