Background
I'm running chef-client --local-mode
with cookbook path set to ./berks-cookbooks
these cookbooks where already downloaded by berkshelf before running chef. (chef sdk 4.0.0, berkshelf 3.2.3)
Before running my scripts, chef has to run "Synchronizing Cookbooks" and this step takes 2 to 3 minutes. I understand that chef is downloading dependant cookbooks in this time and checking their hashes.
my question
If I'm using berkshelf and already have the cookbooks saved locally, why does chef spend so long downloading Cookbooks?
Anyone know a way to speed it up?