I am testing my cookbook in local mode and have vendored the dependency. However when i run chef-client --local-mode it complaints of not able to find the cookbook.
This is what I did:
my recipe includes the dependency:
vault = chef_vault_item(‘test_assurance’, ‘hnas’)
my vendored cookbooks are under local_mode folder
on running chef-client from inside vendored folder it gives below error:
[user@user cookbooks] chef-client --local-mode
Starting Chef Client, version 13.8.5
resolving cookbooks for run list: [“test_assurance”]
Error Resolving Cookbooks for Run List:
No such cookbook: chef-vault
Any clues ?