X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..7302041c3f2c05098816f4fd9e3e538811f25a4e:/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