]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/templates/default/apt.conf.erb
otrs: Add otrs::debian for installing otrs via deb package
[chef.git] / cookbooks / apt / templates / default / apt.conf.erb
index b0552bbc1907ebfcdacffde4f7ab9c3dedfe5925..8943458e9359229907fe6e1b25b30de3f4012fb0 100644 (file)
@@ -3,3 +3,11 @@
 // Do automatic removal of new unused dependencies after the upgrade
 // (equivalent to apt-get autoremove)
 Unattended-Upgrade::Remove-Unused-Dependencies "<%= node[:apt][:unattended_upgrades][:remove_unused_dependencies] ? 'true' : 'false' %>";
+
+// 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;