My project is structured with our company cookbooks in a directory separate from 3rd-party cookbooks.
cookbooks
|
|- CompanyCookbooks
| |
| |-MyCookbook
|
|- 3rdPartyCookbooks
| |
| |-ark
While working from the "MyCookbook" directory, I'm trying to run kitchen converge on my cookbook. The default recipe in MyCookbook depends on ark which is in a separate set of cookbooks under the 3rdPartyCookbooks directory. But I get the following error.
Missing Cookbooks:
------------------
No such cookbook: ark
I've tried to add the path to "3rdPartyCookbooks" to my knife.rb but that didn't work.
cookbook_path ['../../CompanyCookbooks', '../../3rdPartyCookbooks']
I've tried to add various permutations of cookbook_path to the provisioner section of my .kitchen.yml file but that didn't work either.
provisioner:
name: chef_zero
data_bags_path: ../../../databags
roles_path: ../../../roles
solo_rb:
cookbook_path:
- ../../3rdPartyCookbooks
- ../../CompanyCookbooks
and
provisioner:
name: chef_zero
data_bags_path: ../../../databags
roles_path: ../../../roles
cookbooks_path: '../../CompanyCookbooks, ../../3rdPartyCookbooks'
related to How to specify cookbook path in .kitchen.yml file for chef_solo provisioner?.