You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:The files that are in
files/
or intemplates/
need to be consumed bycookbook_file
ortemplate
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.
The text was updated successfully, but these errors were encountered: