]> git.openstreetmap.org Git - chef.git/commitdiff
Disable automatic installation of recommended packages
authorTom Hughes <tom@compton.nu>
Fri, 16 Oct 2020 08:11:57 +0000 (09:11 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 16 Oct 2020 08:16:49 +0000 (09:16 +0100)
cookbooks/apt/templates/default/apt.conf.erb

index b0552bbc1907ebfcdacffde4f7ab9c3dedfe5925..730678e581cfe36b8e41213eaafe3f7fa1b2d59f 100644 (file)
@@ -3,3 +3,7 @@
 // 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";