[chef] Re: apt-get needs to run immediately when new sources are added


Chronological Thread 
  • From: Hector Castro < >
  • To:
  • Subject: [chef] Re: apt-get needs to run immediately when new sources are added
  • Date: Wed, 11 Jul 2012 09:11:26 -0700 (PDT)

Hi Paul,

I made it an option as opposed to just hard-coding :immediately because users 
may want to add more than 1 APT repository back-to-back without rebuilding 
the cache multiple times.

BTM expressed some concern over my approach here 
(http://tickets.opscode.com/browse/COOK-1382).  I haven't had time to test 
his recommendation yet, but I recall trying it and it not behaving the way I 
expected before writing my patch.

--
Hector


On Fri, Jul 6, 2012 at 9:11 AM, Paul Schwarz 
< >
 wrote:
> I believe this describes my issue:
> https://github.com/opscode-cookbooks/apt/pull/8
>
> Rather than using his fork and branch I figured I'd keep it simple so I set
> about fixing it simply by doing this:
> https://github.com/paulsschwarz/apt/commit/bcf90924ba820da726323d727259d66f78441d48
>  
>
> Why is this necessary? Is it a bug or am I misusing something?
>  
> Paul
>


Archive powered by MHonArc 2.6.16.

§