Created
June 28, 2013 14:53
-
-
Save jchauncey/5885282 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Main cookbook berksfile will look something like this | |
cookbook 'foo', :github => 'MyOrg/foo' | |
The foo cookbook has a dependency on a forked cookbook that we have modified that also exists in the community site | |
(at a higher version) | |
cookbook 'bar', :github => 'MyOrg/bar' | |
When I try and do a berks install on the Main cookbook it will always download the community cookbook of bar and not my forked | |
version that I specify in the foo cookbook berksfile. | |
If I upload the bar cookbook to my hosted chef environment and code that specific version in the foo cookbook berksfile | |
a berks install will resolve the correct dependency. However, we now have a public cookbook that depends on another cookbook | |
that is only available in our hosted chef env. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment