diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-22 17:16:44 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-28 16:59:25 -0700 |
commit | 1dfe9fbc4ea76dbf4ba49d168a8ba5fcd2f23cf2 (patch) | |
tree | a4a05e89b5004b9d27e7bc819bbdce5c359bd0c2 /lib/chef/provider/mount.rb | |
parent | 4efccedb2731352ab56405b12fe9876391c731ae (diff) | |
download | chef-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.rb | 4 |
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") |