diff options
Diffstat (limited to 'lib/chef/provider/mount.rb')
-rw-r--r-- | lib/chef/provider/mount.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb index 0eb1de0de8..4749846118 100644 --- a/lib/chef/provider/mount.rb +++ b/lib/chef/provider/mount.rb @@ -102,6 +102,10 @@ class Chef end end + # + # Abstract Methods to be implemented by subclasses + # + # should actually check if the filesystem is mounted (not just return current_resource) and return true/false def mounted? raise Chef::Exceptions::UnsupportedAction, "#{self.to_s} does not implement #mounted?" @@ -113,7 +117,7 @@ class Chef end # - # NOTE: for the following functions, they will already have checked if the filesystem is enabled and/or mounted and + # NOTE: for the following methods, they will already have checked if the filesystem is enabled and/or mounted and # will be called in converge_by blocks, so most defensive checking does not need to be done, just do the thing. # |