sounds like there is consensus
Would this make for a good foodcritic rule?
Dir.mktmpdir w/out arguments creates a directory in /tmp
Dir.mktmpdir("/foo/bar") creates a tmpdir in /foo/bar/
a foodcritic rule would flag Dir.mktmpdir w/out a prefix
Would such a rule be useful to anyone besides me?
On Thu, Jun 14, 2012 at 8:11 AM, Steven Danna email@example.com wrote:
On Wed, Jun 13, 2012 at 11:05 PM, Ranjib Dey firstname.lastname@example.org
i prefer to use the Chef::Config[:file_cache_path] (which usually points
/var/chef/cache) for similar use cases
I’m also a fan of of using Chef::Config[:file_cache_path] for things
like this. It is also helpful in cases where /tmp is being mounted as
a tmpfs and avoid chef-client runs periodically taking longer after
something cleared out /tmp.