]> git.openstreetmap.org Git - chef.git/commitdiff
devices: fix style issue
authorGrant Slater <github@firefishy.com>
Mon, 22 Apr 2024 12:57:27 +0000 (13:57 +0100)
committerGrant Slater <github@firefishy.com>
Mon, 22 Apr 2024 12:57:27 +0000 (13:57 +0100)
cookbooks/devices/recipes/default.rb

index c19acda9bf5772f9d54b9d7c943441217a117785..d92bd025994c06a6ef082b8a6293885b67c95f84 100644 (file)
@@ -41,7 +41,7 @@ template "/etc/modprobe.d/nvme.conf" do
   owner "root"
   group "root"
   mode "644"
   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
 end
 
 execute "update-initramfs" do