문제

My custom cookbooks are stored in private github repos. When adding them to a Berkshelf project, they are added to .berkshelf/cookbooks as custom-cookbook-commit-number instead of custom-cookbook-version-number

My github repo has tags with the version. "Releases" has all of the version tags listed.

What do I need to change so the cookbooks become
.berkshelf/cookbooks/custom-cookbook-version-number?

도움이 되었습니까?

해결책

Use the path location instead of git location in your Berksfile please:

cookbook "artifact", path: "/Users/reset/code/artifact-cookbook"

Then you need to clone your private cookbook from gitrepo and make sure they're up to date.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top