Does chef-client use a local cache? If so, can I clear it

chefchef-server

This might be a stupid question. I don't know a lot about chef. I am using chef 11.8.2 on a node. I have a weird problem which might be caused by the chef client caching things rather than downloading from the chef server. Does chef do this? Cache things locally? If so, is it possible to clear the local cache on a chef node before running chef-client so that I can be sure that my problem isn't from caching?

Best Answer

If you're running on linux, you should be able to find it at /var/chef/cache.

It stores the pid file there by default as well.