class Chef::Resource::Mount

Private Instance Methods

clear_fstype() click to toggle source

Used by the AIX provider to set fstype to nil. @todo use property to make nil a valid value for fstype

# File lib/chef/resource/mount.rb, line 95
def clear_fstype
  @fstype = nil
end
mount_options(options) click to toggle source

Returns array of string without leading and trailing whitespace.

# File lib/chef/resource/mount.rb, line 100
def mount_options(options)
  (options.is_a?(String) ? options.split(",") : options).collect(&:strip)
end