summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Rudzki (ttr) <ttr@ttrsite.net>2016-12-01 15:24:20 +0000
committerTomasz Rudzki (ttr) <ttr@ttrsite.net>2016-12-01 15:27:56 +0000
commitdf8b88b095d6abb8c63e5d666f300a3cd47b3158 (patch)
tree6b3355b73b79a3e23af1161fed9918ec8a2cd3ae
parent0a2e27001c3c678f2a0a7d354a14a4e36c6555e9 (diff)
downloadchef-df8b88b095d6abb8c63e5d666f300a3cd47b3158.tar.gz
linux mount provider - skip device detection for zfs
Signed-off-by: Tomasz Rudzki (ttr) <ttr@ttrsite.net>
-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 07da6ac361..49e825e39f 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 vboxsf }.include? @new_resource.fstype )
+ ( not %w{ cgroup tmpfs fuse vboxsf zfs }.include? @new_resource.fstype )
end
private