On 05/24/2014 04:01 AM, Matt Wise wrote:
When you have hundreds of hosts and run Puppet every 30 mins (splayed
across the hour), it seems that you end up running into various 'dpkg'
locks fairly randomly and at a surprisingly high occurrence (once or
twice a day at least). This happens if you do something simple like a
cron-based 'apt-get update' or 'apt-get autoclean'. It happens even more
often, oddly, when you tell Puppet to always install Package-Foo, and
you manually run jobs across the farms occasionally to upgrade Package-Foo.

Is there any way to tell Puppet to wait and then re-try when theres a
dpkg lock in place, rather than outright failing? Overall its just a
nuisance, but we must get 3-5 of these reports a day..

Maybe hack the dpkg package provider?

BTW, how did you set up monitoring/reporting of your puppet agents and agent runs?

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53826EBB.7020905%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to