X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..8c06ebb3823eeb2156c6efa48d62baafa815ecda:/cookbooks/nfs/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/nfs/recipes/default.rb b/cookbooks/nfs/recipes/default.rb index 80d3d9e21..c42cf9c82 100644 --- a/cookbooks/nfs/recipes/default.rb +++ b/cookbooks/nfs/recipes/default.rb @@ -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