diff options
author | Seth Falcon <seth@opscode.com> | 2010-08-12 15:00:58 -0700 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2010-08-17 11:14:27 -0700 |
commit | d128ffd8e23b5adf372f18786a4391f985406400 (patch) | |
tree | 4895ceec2a88ae31c0aa07999186026cd5e726f4 /Rakefile | |
parent | 73b3a9085b8e5b585ae7f14b82dabbdaad4da91c (diff) | |
download | chef-d128ffd8e23b5adf372f18786a4391f985406400.tar.gz |
Fix for CHEF-1571, reload cookbook metadata after generating metadata
CookbookVersion objects now have the following new accessors:
root_dir
metadata_json_file
metadata_rb_file
The CookbookLoader sets a CookbookVersion's root_dir on load.
CookbookVersion objects now have a reload_metadata! method that reloads
metadata from metadata.json (if it exists). This is used by the
CookbookUploader to reload a cookbook's metadata after (re)generating
metadata in prep for upload.
Thanks to Dan Prince for the details reported in CHEF-1560 and for a
patch that inspired these changes.
Diffstat (limited to 'Rakefile')
0 files changed, 0 insertions, 0 deletions