summaryrefslogtreecommitdiff
path: root/lib/chef/provider/mount.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/mount.rb')
-rw-r--r--lib/chef/provider/mount.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb
index b099c267e6..17c4b9e8cf 100644
--- a/lib/chef/provider/mount.rb
+++ b/lib/chef/provider/mount.rb
@@ -118,6 +118,11 @@ class Chef
raise Chef::Exceptions::UnsupportedAction, "#{self} does not implement #mount_options_unchanged?"
end
+ # should actually check if the filesystem is mounted and new resource have any difference (not just return current_resource) and return true/false
+ def remount_require?
+ raise Chef::Exceptions::UnsupportedAction, "#{self} does not implement #remount_require?"
+ end
+
# It's entirely plausible that a site might prefer UUIDs or labels, so
# we need to be able to update fstab to conform with their wishes
# without necessarily needing to remount the device.