]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nfs/recipes/default.rb
Add new stateofthemap site for 2016
[chef.git] / cookbooks / nfs / recipes / default.rb
index 1719a967cb94cefcf9dd8a6e675c16b3f26f5a87..8d44e2bd62673550c8e77f8042b6d4f6b8492644 100644 (file)
@@ -19,7 +19,7 @@
 
 package "nfs-common"
 
 
 package "nfs-common"
 
-node[:nfs].each do |mountpoint,details|
+node[:nfs].each do |mountpoint, details|
   if details[:readonly]
     mount_options = "ro,bg,soft,udp,rsize=8192,wsize=8192,nfsvers=3"
   else
   if details[:readonly]
     mount_options = "ro,bg,soft,udp,rsize=8192,wsize=8192,nfsvers=3"
   else
@@ -35,7 +35,7 @@ node[:nfs].each do |mountpoint,details|
   end
 
   mount mountpoint do
   end
 
   mount mountpoint do
-    action [ :mount, :enable ]
+    action [:mount, :enable]
     device "#{details[:host]}:#{details[:path]}"
     fstype "nfs"
     options mount_options
     device "#{details[:host]}:#{details[:path]}"
     fstype "nfs"
     options mount_options