[chef] Re: Re: Why does 'chef-client -o' trash my locally cached cookbooks?


Chronological Thread 
  • From: Jeff Blaine < >
  • To:
  • Subject: [chef] Re: Re: Why does 'chef-client -o' trash my locally cached cookbooks?
  • Date: Mon, 20 Apr 2015 09:22:37 -0400

On 4/17/2015 6:59 PM, Ranjib Dey wrote:
> this how its designed/implemented currently. the cookbook sync step
> before the chef run will ensure only the cookbooks defined in run list
> exist in the cache folder, rest is nuked. Try using a different folder
> as file_cache_path when using -o to override the run list.

Hi Ranjib,

Well, yeah, clearly that's how it's implemented currently ;)

My question was why? Is there a real reason to trash them?

> On Fri, Apr 17, 2015 at 1:40 PM, Jeff Blaine 
> <
> <mailto: >>
>  wrote:
> 
>     Maybe this is different in later versions, we're on 11.18, but is there
>     a reason for "override my run list this one time" to nuke all of the
>     locally cached cookbooks that do not match that new one-time run list?



Archive powered by MHonArc 2.6.16.

§