Ark cookbook resources are not idempotent?

Ohai,

On Tuesday, May 21, 2013 at 6:07, Mike wrote:

The temp dir should probably be /var/cache/chef or /var/chef/cache
(why are there two???).

As Sean said it should be the Chef::Config[:file_cache_path], wherever that may be configured. These two exist as a matter if config standards.

/var/chef/cache is the default and follows hier(7) on OSX or BSD systems.

/var/cache/chef is used for Debian packages and follows the "FHS" for Linux systems.

It probably already is, however in my vagrant box it's
/tmp/vagrant-chef-1/ so I don't expect it to be there all the time.

Which is why using the chef config value is better as wherever that points will exist because chef creates it.