summaryrefslogtreecommitdiff
path: root/lib/chef/provider/mount.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-22 17:16:44 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-28 16:59:25 -0700
commit1dfe9fbc4ea76dbf4ba49d168a8ba5fcd2f23cf2 (patch)
treea4a05e89b5004b9d27e7bc819bbdce5c359bd0c2 /lib/chef/provider/mount.rb
parent4efccedb2731352ab56405b12fe9876391c731ae (diff)
downloadchef-1dfe9fbc4ea76dbf4ba49d168a8ba5fcd2f23cf2.tar.gz
fix copypasta output issues in enable/disable actions
these were copied from "remount" without changing.
Diffstat (limited to 'lib/chef/provider/mount.rb')
-rw-r--r--lib/chef/provider/mount.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb
index 5f58baa396..6fe76b9d43 100644
--- a/lib/chef/provider/mount.rb
+++ b/lib/chef/provider/mount.rb
@@ -80,7 +80,7 @@ class Chef
def action_enable
unless @current_resource.enabled && mount_options_unchanged?
- converge_by("remount #{@current_resource.device}") do
+ converge_by("enable #{@current_resource.device}") do
status = enable_fs
if status
Chef::Log.info("#{@new_resource} enabled")
@@ -93,7 +93,7 @@ class Chef
def action_disable
if @current_resource.enabled
- converge_by("remount #{@current_resource.device}") do
+ converge_by("disable #{@current_resource.device}") do
status = disable_fs
if status
Chef::Log.info("#{@new_resource} disabled")