From: Grant Slater Date: Mon, 22 Apr 2024 12:57:27 +0000 (+0100) Subject: devices: fix style issue X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7290f8403f78df64dd3385f649dfc47a8d6869f3?ds=sidebyside devices: fix style issue --- 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