diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-23 16:27:59 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-28 16:59:26 -0700 |
commit | 92d9730deff155461e399a5d4751822d1630a426 (patch) | |
tree | a0f09989815f098b51b463fc87e49a22eb542d7e /lib/chef/provider/mount.rb | |
parent | ee0a8b58c4b611379a1ccda2e623ffd4c4c36aba (diff) | |
download | chef-92d9730deff155461e399a5d4751822d1630a426.tar.gz |
comment tweaks
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. # |