Hi,
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:
cat recipes/default.rb
include_recipe ‘chef-vault’
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]
[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:
Missing Cookbooks:
No such cookbook: chef-vault
Any clues ?