]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nfs/recipes/default.rb
Manage c3sl remote hands account
[chef.git] / cookbooks / nfs / recipes / default.rb
index ff37b7b61643a75bfc31483f7dc854e908fbb872..6c39c9a67138aab70b34442003ae0cd55a75133d 100644 (file)
@@ -21,9 +21,9 @@ package "nfs-common"
 
 node[:nfs].each do |mountpoint, details|
   mount_options = if details[:readonly]
-                    "ro,bg,soft,udp,rsize=8192,wsize=8192,nfsvers=3"
+                    "ro,bg,soft,tcp,rsize=8192,wsize=8192,nfsvers=4"
                   else
-                    "rw,bg,udp,rsize=8192,wsize=8192,nfsvers=3"
+                    "rw,bg,tcp,rsize=8192,wsize=8192,nfsvers=4"
                   end
 
   directory mountpoint do