]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/templates/default/apt.conf.erb
Run smokeping on prometheus servers
[chef.git] / cookbooks / apt / templates / default / apt.conf.erb
index 730678e581cfe36b8e41213eaafe3f7fa1b2d59f..8943458e9359229907fe6e1b25b30de3f4012fb0 100644 (file)
@@ -7,3 +7,7 @@ Unattended-Upgrade::Remove-Unused-Dependencies "<%= node[:apt][:unattended_upgra
 // Don't install recommended packages as we don't want to get
 // new postgres versions automatically
 APT::Install-Recommends "false";
+
+// Briefly wait for lock on dpkg/apt
+// to avoid concurrent issues with unattended-upgrades and apt daily
+DPkg::lock::timeout 90;