opscode/chef — pull request #566 by danielsdeleo (2012-12-21 17:20:08+00:00)
Title: [CHEF-3715] Remove Caching of SHA256 checksums in client/solo

Due to coarse mtime resolution on some platforms, we cannot use mtime to check validity of the cached checksums, and there is no good alternative (mtime+size was considered, but has obvious issues).

Performance tests indicate that the checksum cache does not provide a significant performance benefit.

The one place where the cache was providing value was in speeding up cookbook syntax checking. I have reimplemented the syntax check cache using a simple scheme of touching files in the cache directory.

This patch also removes the moneta dependency, since it is no longer needed. Config options for moneta are partially removed; however, for compatibility purposes, `cache_options[:path]` is used to configure the `syntax_check_cache_path` when the latter is not provided.