Re: [Puppet Users] Puppet + APT, I am lost...

Patrick
Tue, 07 Sep 2010 19:31:00 -0000

On Sep 7, 2010, at 1:22 AM, Martijn Grendelman wrote:

> Hi,
>
>>> But for this to work, the Puppet run needs to run aptitude update
to
>>> pick up the new package name. Running the update periodically
isn''t
>>> enough, but running an update on every catalog run is just
overkill.
>>
>> I understand your concern here, but have you done the timing tests?
>>
>> How long are your average puppet runs and how much time does an
>> "apt-get update" take?
>>
>> I just wonder if you''re prematurely optimizing your runs.
>
> It''s not actually about optimizing puppet runs, it''s
about the load
> imposed on the package repository servers, when hundreds of servers do
> updates twice an hour.

I use the apt-cacher-ng proxy to reduce load on the package servers and for
speed.  It means that I can download packages over a 100Mbps connection.

> And even if that load isn''t a real problem (which it probably
isn''t), it''s
> about politeness to the sysadmins of those servers. The behaviour that
I''m
> trying to avoid could easily be explained as abuse. I just like to play
nice.
>
> Best regards,
> Martijn.