]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nfs/recipes/default.rb
Fix new cookstyle warnings
[chef.git] / cookbooks / nfs / recipes / default.rb
index 80d3d9e21cb7dc1f7e6f4c785c9d39c2c4c3b2d5..c42cf9c82eb9b398254a5c0fb33e61e4fe98568d 100644 (file)
@@ -31,7 +31,7 @@ node[:nfs].each do |mountpoint, details|
     group "root"
     mode 0o755
     recursive true
-    not_if { File.exist?(mountpoint) }
+    not_if { ::File.exist?(mountpoint) }
   end
 
   mount mountpoint do