X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..8f92e05eba2aae6cd501a8d13712e6fcf32fe261:/cookbooks/nfs/recipes/default.rb diff --git a/cookbooks/nfs/recipes/default.rb b/cookbooks/nfs/recipes/default.rb index 80d3d9e21..216e825f2 100644 --- a/cookbooks/nfs/recipes/default.rb +++ b/cookbooks/nfs/recipes/default.rb @@ -29,9 +29,9 @@ node[:nfs].each do |mountpoint, details| directory mountpoint do owner "root" group "root" - mode 0o755 + mode "755" recursive true - not_if { File.exist?(mountpoint) } + not_if { ::File.exist?(mountpoint) } end mount mountpoint do