summaryrefslogtreecommitdiff
path: root/lib/chef/provider/mount.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-23 16:34:49 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-28 16:59:27 -0700
commiteecd604b754817ca51a229e597e62230ffe609cc (patch)
tree4f190f71321c04eb73952c113cc5e2932c788ad6 /lib/chef/provider/mount.rb
parenteb5cea889f7916f4fec9a25b545faf16e8f4aeaf (diff)
downloadchef-eecd604b754817ca51a229e597e62230ffe609cc.tar.gz
fix spec test
also drop the loop down to 0.1 sleep
Diffstat (limited to 'lib/chef/provider/mount.rb')
-rw-r--r--lib/chef/provider/mount.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb
index 6f132e44d4..34b924d3c6 100644
--- a/lib/chef/provider/mount.rb
+++ b/lib/chef/provider/mount.rb
@@ -69,7 +69,7 @@ class Chef
umount_fs
Chef::Log.info("#{new_resource} unmounted")
end
- sleep 1 while mounted?
+ sleep 0.1 while mounted?
converge_by("mount #{current_resource.device}") do
mount_fs
Chef::Log.info("#{new_resource} mounted")