X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..7b07f5d59b1751fef2f13b3dea701807c0b421e3:/cookbooks/nfs/recipes/default.rb?ds=inline 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