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