summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Szalay <nicolas.szalay@fotolia.com>2014-10-15 10:48:14 +0200
committerNicolas Szalay <nicolas.szalay@fotolia.com>2014-10-15 10:48:14 +0200
commitdc0d9824bfe4af9d24c1ed5e72ad4a1e74c6d0cd (patch)
tree4553fb28d81fbe9b4fbdf5277d5291168e3d21d1
parent72f13fd58353b69fcf0f686a14cb52f8b29991a4 (diff)
downloadchef-dc0d9824bfe4af9d24c1ed5e72ad4a1e74c6d0cd.tar.gz
mount resource : allow to mount cgroups
-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 2d4a5aadef..c1d4fb2223 100644
--- a/lib/chef/provider/mount/mount.rb
+++ b/lib/chef/provider/mount/mount.rb
@@ -191,7 +191,7 @@ class Chef
def device_should_exist?
( @new_resource.device != "none" ) &&
( not network_device? ) &&
- ( not %w[ tmpfs fuse ].include? @new_resource.fstype )
+ ( not %w[ cgroup tmpfs fuse ].include? @new_resource.fstype )
end
private