Last active
August 29, 2015 13:57
-
-
Save avit/9534230 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
site :opscode | |
metadata | |
cookbook 'locale', | |
git: "https://github.com/hw-cookbooks/locale.git", | |
tag: "v1.0.0" |
This file contains hidden or 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
depends 'locale', '>= 1.0.0' |
This file contains hidden or 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
site :opscode | |
metadata | |
cookbook 'base', | |
path: '../base' |
This file contains hidden or 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
depends 'base' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
myapp cookbook depends on the base cookbook. Expecting that I can declare all my dependencies in the base cookbook's Berksfile, but it seems that needs to be repeated everywhere.
Also, if using
site :opscode
and depending on a cookbook of the same name that you expect to get from elsewhere, how does it resolve the correct source? In this case, there is no locale-1.0.0 on the opscode community site, but what if there was? Would it have downloaded an unexpected thing even though I declared something else in my Berksfile?