summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2016-03-11 00:53:51 -0800
committerNoah Kantrowitz <noah@coderanger.net>2016-03-11 00:53:51 -0800
commitb1c00925bcf583010bb130b27d25ecfab1937346 (patch)
tree4ba3334b6a8f3b68b809df8258c6661aedfce0d8
parent615f2889ac732ac8435f69f8c9dfdae6f778edb6 (diff)
parent6bfac7fb9078889caba65197a262ebe9e0a390ff (diff)
downloadchef-b1c00925bcf583010bb130b27d25ecfab1937346.tar.gz
Merge pull request #4694 from chef/vboxsf
Vbox's shared filesystem driver uses non-file device names too.
-rw-r--r--lib/chef/provider/mount/mount.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/mount/mount.rb b/lib/chef/provider/mount/mount.rb
index 265911b54c..c815c9ccb8 100644
--- a/lib/chef/provider/mount/mount.rb
+++ b/lib/chef/provider/mount/mount.rb
@@ -193,7 +193,7 @@ class Chef
def device_should_exist?
( @new_resource.device != "none" ) &&
( not network_device? ) &&
- ( not %w{ cgroup tmpfs fuse }.include? @new_resource.fstype )
+ ( not %w{ cgroup tmpfs fuse vboxsf }.include? @new_resource.fstype )
end
private