summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Belchamber <james@belchamber.com>2014-08-11 18:07:39 +0100
committerLamont Granquist <lamont@scriptkiddie.org>2015-08-18 12:13:23 -0700
commit1d0ff22eb1c7ee1a17191ddd28cd3a99aef83271 (patch)
tree2a5e763a8d386e0fdc2d5f25636d64236465a049
parent43620a7e3d663ca83bc4394a5baaf724fecf06d8 (diff)
downloadchef-1d0ff22eb1c7ee1a17191ddd28cd3a99aef83271.tar.gz
mount now remounts if options change
-rw-r--r--lib/chef/provider/mount.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb
index e45d13843a..557a54bbe3 100644
--- a/lib/chef/provider/mount.rb
+++ b/lib/chef/provider/mount.rb
@@ -42,17 +42,6 @@ class Chef
end
def action_mount
- unless current_resource.mounted && mount_options_unchanged?
- converge_by("mount #{current_resource.device} to #{current_resource.mount_point}") do
- mount_fs
- Chef::Log.info("#{new_resource} mounted")
- end
- else
- Chef::Log.debug("#{new_resource} is already mounted")
- end
- end
-
- def action_mount
if current_resource.mounted
if mount_options_unchanged?
Chef::Log.debug("#{new_resource} is already mounted")