From: Tom Hughes Date: Fri, 6 Sep 2024 10:55:28 +0000 (+0100) Subject: Drop cleanup code X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ebca8a93face949a54f319048af8708bbeb88b25 Drop cleanup code --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 6ea634ee9..2fbf30141 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -465,10 +465,6 @@ end disks = disks.compact.uniq if disks.count.positive? - apt_preference "smartmontools" do - action :remove - end - package "smartmontools" template "/etc/cron.daily/update-smart-drivedb" do diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index 5ba8c1951..1b3e5810b 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -63,10 +63,6 @@ template "/etc/dbconfig-common/otrs2.conf" do :database_cluster => database_cluster end -apt_preference "otrs2" do - action :remove -end - apt_package "otrs2" # Ensure debconf is repopulated on a dbconfig change diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 6d58bf806..2ebcbf041 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -505,10 +505,6 @@ directory "/var/log/tile" do mode "755" end -apt_preference "osm2pgsql" do - action :remove -end - package %w[ osm2pgsql osmium-tool