diff options
author | markgibbons <mark.gibbons@nordstrom.com> | 2014-08-01 17:33:18 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-21 12:48:11 -0700 |
commit | ab350db9ee1838660cb6bab5d3a62749ff7d337f (patch) | |
tree | fd998878b989679ca5160ab15cefb5edcce8f2a5 /lib/chef/resource/mount.rb | |
parent | 68ca480473ab4bcb302d003d40b9a76e39410268 (diff) | |
download | chef-ab350db9ee1838660cb6bab5d3a62749ff7d337f.tar.gz |
CHEF-1737: Fix noauto support.
Add fsck device support.
Allow vxfs device types.
Diffstat (limited to 'lib/chef/resource/mount.rb')
-rw-r--r-- | lib/chef/resource/mount.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/chef/resource/mount.rb b/lib/chef/resource/mount.rb index 9eafe07253..275c069f61 100644 --- a/lib/chef/resource/mount.rb +++ b/lib/chef/resource/mount.rb @@ -33,6 +33,7 @@ class Chef @mount_point = name @device = nil @device_type = :device + @fsck_device = '-' @fstype = "auto" @options = ["defaults"] @dump = 0 @@ -77,6 +78,14 @@ class Chef ) end + def fsck_device(arg=nil) + set_or_return( + :fsck_device, + arg, + :kind_of => [ String ] + ) + end + def fstype(arg=nil) set_or_return( :fstype, |