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

Martijn Grendelman
Tue, 07 Sep 2010 08:22:53 -0000

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.

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.