]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Centralise enablement of backports
[chef.git] / cookbooks / hardware / recipes / default.rb
index 5492134dc50f1ed82eff62dc15f2f877a55edce9..6ea634ee9e088010fdce78588957b5d759f0ce29 100644 (file)
@@ -466,9 +466,7 @@ disks = disks.compact.uniq
 
 if disks.count.positive?
   apt_preference "smartmontools" do
-    pin "release o=Debian Backports"
-    pin_priority "600"
-    only_if { platform?("debian") }
+    action :remove
   end
 
   package "smartmontools"