Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata.rb file missing from chef-client-4.2.0.tar.gz #265

Closed
jfbibeau opened this issue Feb 11, 2015 · 2 comments
Closed

metadata.rb file missing from chef-client-4.2.0.tar.gz #265

jfbibeau opened this issue Feb 11, 2015 · 2 comments

Comments

@jfbibeau
Copy link

Hey,

So I'm trying to upgrade chef-client cookbook within my repo from 4.0.0 to 4.2.0, but the process keeps failing with:

Cookbook chef-client version 4.2.0 successfully installed
ERROR: IOError: Cannot open or read /home/jbibeau/chef-repo/cookbooks/chef-client/metadata.rb!

Looking at the fast forward merge that takes place, the metadata.rb file clearly gets deleted

Checking out the master branch.
Updating f3215c2..be2a18f
Fast-forward
...
 cookbooks/chef-client/metadata.rb                                                    | 35 -----------------------------------
...

I then tried to do a knife cookbook site download chef-client and looking at the raw .tar.gz, and it is indeed missing the metadata.rb file.

Is this a bug in the release? The file still seems to be present in the repo...
Thanks!

@juliandunn
Copy link
Contributor

I use Stove to upload the cookbooks and this is all explained over in chef-boneyard/stove#59.

New-enough knives know how to deal with cookbooks that only contain compiled metadata.

@jfbibeau
Copy link
Author

Perfect, good find, you put my Google-fu to shame :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants