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

Already on GitHub? Sign in to your account

Requiring OtherCookbooks #68

Closed
vigi009 opened this Issue Jul 17, 2014 · 2 comments

Comments

Projects
None yet
3 participants

vigi009 commented Jul 17, 2014

I am trying to run this cookbook but when i try to upload it says that I require 3 other cookbooks called "build-essential", "7-zip", and "windows". The platform for those are windows, but the virtual machine I am using is running ubuntu, Windows keeps failing when I try to run that. How do I solve this?

Collaborator

burtlo commented Jul 17, 2014

If you downloaded the cookbook you can remove the two dependencies from the metadata.rb.

depends 'windows'
depends '7-zip'

I guess I didn't realize that it would be a problem. At least when I run the tests it is not a problem. I'll take a look at that later.

Owner

tas50 commented Feb 9, 2016

These dependencies will be pulled in, but not used on your platform. This is the nature of multi-platform cookbooks and shouldn't be considered a bug.

@tas50 tas50 closed this Feb 9, 2016

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