From 33f932ebd742b72c6e5813698c8e5d208c7705e0 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 4 Jul 2025 13:46:54 +0100 Subject: [PATCH] Fix new cookstyle warnings --- cookbooks/hardware/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 142084866..761f2c014 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -464,7 +464,7 @@ end disks = disks.compact.uniq -if disks.count.positive? +if disks.any? package "smartmontools" template "/etc/cron.daily/update-smart-drivedb" do -- 2.39.5