From 7290f8403f78df64dd3385f649dfc47a8d6869f3 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 22 Apr 2024 13:57:27 +0100 Subject: [PATCH] devices: fix style issue --- cookbooks/devices/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/devices/recipes/default.rb b/cookbooks/devices/recipes/default.rb index c19acda9b..d92bd0259 100644 --- a/cookbooks/devices/recipes/default.rb +++ b/cookbooks/devices/recipes/default.rb @@ -41,7 +41,7 @@ template "/etc/modprobe.d/nvme.conf" do owner "root" group "root" mode "644" - only_if { File.exist?("/sys/module/nvme/parameters/poll_queues") } + only_if { ::File.exist?("/sys/module/nvme/parameters/poll_queues") } end execute "update-initramfs" do -- 2.39.5