jeudi 25 juin 2015

AWS OpsWorks Multiple Custom Chef Recipes - Berkshelf

Can I utilize Berkshelf in AWS OpsWorks if I want multiple cookbooks under the same repo? I'm currently using bitbucket and have the custom recipes working. However, I only have one cookbook and need to add a few more. Can I just create a directory structure under my one repo for the multiple cookbooks? Or do I need to do multiple repos, one for each cookbook? I know I can use the Berkshelf Berksfile to include all of the cookbooks, but I can't get it to work properly.

Cookbooks would be:

custom  
-->recipes  
-->attributes  

deploy  
-->recipes  
-->attributes  

nodejs  
-->recipes  
-->attributes  
-->providers  
-->libraries  
-->resources  

Can I just create the directory structure like above under the same repo, or would I need to split those 3 cookbooks out into their own repos and use the Berksfile?




Aucun commentaire:

Enregistrer un commentaire