hardware: fix lint error
authorGrant Slater <git@firefishy.com>
Sun, 22 Mar 2020 23:20:27 +0000 (23:20 +0000)
committerGrant Slater <git@firefishy.com>
Sun, 22 Mar 2020 23:20:27 +0000 (23:20 +0000)
cookbooks/hardware/recipes/default.rb

index c2d0dd6ee4853bf5959debfb9d1c4798831ec0ae..77c4356c30fa8a43cc84d9de7bf4c73b6d6eadde 100644 (file)
@@ -354,7 +354,7 @@ if !intel_ssds.empty? || !intel_nvmes.empty?
     cwd Chef::Config[:file_cache_path]
     user "root"
     group "root"
-    not_if { File.exist?("#{Chef::Config[:file_cache_path]}/isdct_#{intel_ssd_tool_version}-1_amd64.deb") }
+    not_if { ::File.exist?("#{Chef::Config[:file_cache_path]}/isdct_#{intel_ssd_tool_version}-1_amd64.deb") }
   end
 
   dpkg_package "isdct" do