From df8b88b095d6abb8c63e5d666f300a3cd47b3158 Mon Sep 17 00:00:00 2001 From: "Tomasz Rudzki (ttr)" Date: Thu, 1 Dec 2016 15:24:20 +0000 Subject: linux mount provider - skip device detection for zfs Signed-off-by: Tomasz Rudzki (ttr) --- lib/chef/provider/mount/mount.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1