Class | Chef::CookbookSynchronizer |
In: |
lib/chef/cookbook/synchronizer.rb
|
Parent: | Object |
Synchronizes the locally cached copies of cookbooks with the files on the server.
EAGER_SEGMENTS | = | Chef::CookbookVersion::COOKBOOK_SEGMENTS.dup |
Sync the eagerly loaded files contained by cookbook
cookbook<Chef::Cookbook>: | The cookbook to update |
valid_cache_entries<Hash>: | Out-param; Added to this hash are the files that |
were referred to by this cookbook
Sync an individual file if needed. If there is an up to date copy locally, nothing is done.
file_manifest:: | A Hash of the form {"path" => ‘relative/path’, "url" => "location to fetch the file"} |
Path to the cached file as a String