opscode/chef — pull request #280 by adamsb6 (2012-04-27 21:56:32+00:00)
Title: Configurable lazy loading of template, cookbook_file

This change makes lazy loading behavior configurable.

To disable lazy loads, just add 'no_lazy_load true' to client.rb.

The reason for the change is that when running with Hosted Chef, lazy loads lead Hosted Chef to generate temporary S3 URLs at compile time for cookbook_file and template resources. The URLs expire after one hour, and that was breaking a long Chef run that's necessary to get an instance of my application up and running.

I filed this bug on this issue: http://tickets.opscode.com/browse/CHEF-3045