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

knife cookbook site install elkstack #114

Closed
lawrencegs opened this issue Feb 19, 2015 · 3 comments
Closed

knife cookbook site install elkstack #114

lawrencegs opened this issue Feb 19, 2015 · 3 comments

Comments

@lawrencegs
Copy link

I'm getting this issue using knife?

$ knife cookbook site install elkstack
Installing elkstack to/redacted/mychef/cookbooks
Checking out the master branch.
Pristine copy branch (chef-vendor-elkstack) exists, switching to it.
Downloading elkstack from the cookbooks site at version 4.2.0 to /redacted/mychef/cookbooks/elkstack.tar.gz
Cookbook saved: /redacted/mychef/cookbooks/elkstack.tar.gz
Removing pre-existing version.
Uncompressing elkstack version 4.2.0.
removing downloaded tarball
No changes made to elkstack
Checking out the master branch.
ERROR: Chef::Exceptions::MetadataNotFound: No metadata.rb or metadata.json!
@lawrencegs
Copy link
Author

Nvm, clean up the branches, and now I got different error:

.... <<redacted>>

Downloading windows from the cookbooks site at version 1.36.6 to /Users/Lawrence/workspace/PTLOKET/loket-chef/cookbooks/windows.tar.gz
Cookbook saved: /Users/Lawrence/workspace/PTLOKET/loket-chef/cookbooks/windows.tar.gz
Removing pre-existing version.
Uncompressing windows version 1.36.6.
removing downloaded tarball
1 files updated, committing changes
ERROR: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of git commit -m "Import windows version 1.36.6" -- windows ----
STDOUT: On branch chef-vendor-windows
nothing to commit, working directory clean
STDERR:
---- End output of git commit -m "Import windows version 1.36.6" -- windows ----
Ran git commit -m "Import windows version 1.36.6" -- windows returned 1

@lawrencegs
Copy link
Author

After debugging, this seems to match the following knife bug: CHEF-5362

@martinb3
Copy link
Contributor

Hi @lawrencegs,

There's an interesting discussion about metadata and the first issue I think you saw.

I'm not as familiar with the second issue you describe, but it sounds like you were able to resolve it, so I will close this unless there's something we can do to the cookbook to help.

Cheers!

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

No branches or pull requests

2 participants