- From: Bryan Berry <
>
- To:
- Subject: [chef] Re: Re: Re: using /var/chef/tmp instead of /tmp as a workspace for recipes
- Date: Thu, 14 Jun 2012 08:16:34 +0200
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
<
" target="_blank">
> wrote:
Hi,
On Wed, Jun 13, 2012 at 11:05 PM, Ranjib Dey <
">
> wrote:
> i prefer to use the Chef::Config[:file_cache_path] (which usually points to
> /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.
Cheers,
Steven
Archive powered by MHonArc 2.6.16.