From: Tom Hughes Date: Fri, 16 Oct 2020 08:11:57 +0000 (+0100) Subject: Disable automatic installation of recommended packages X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/6820d921a8fce85b0587ea6792549fe90acb92fb Disable automatic installation of recommended packages --- diff --git a/cookbooks/apt/templates/default/apt.conf.erb b/cookbooks/apt/templates/default/apt.conf.erb index b0552bbc1..730678e58 100644 --- a/cookbooks/apt/templates/default/apt.conf.erb +++ b/cookbooks/apt/templates/default/apt.conf.erb @@ -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";