diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-05 22:00:01 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-12-05 22:00:01 -0800 |
commit | d61a3ee82f489e5018a9b4e3c208f63d69829649 (patch) | |
tree | 7da9f21356ff9b424ef959cf91ee78de60f4f491 | |
parent | 2b32e2e51ca3e4e22de1bc6f508a375ecdc109ed (diff) | |
download | chef-d61a3ee82f489e5018a9b4e3c208f63d69829649.tar.gz |
Clarify why we're not doing anything here
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/windows_task.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/windows_task.rb b/lib/chef/provider/windows_task.rb index 5770e89b67..c38e42c0c1 100644 --- a/lib/chef/provider/windows_task.rb +++ b/lib/chef/provider/windows_task.rb @@ -77,7 +77,7 @@ class Chef if current_resource.exists Chef::Log.debug "#{new_resource} task exists." if !(task_need_update? || new_resource.force) - Chef::Log.info "#{new_resource} task already exists - nothing to do" + Chef::Log.info "#{new_resource} task doesn't need updating and force not specified - nothing to do" return end # Setting the attributes of new_resource as current_resource. @@ -132,7 +132,7 @@ class Chef if current_resource.exists Chef::Log.debug "#{new_resource} task exists." if current_resource.status == :running - Chef::Log.info "#{new_resource} task is currently running, skipping run" + Chef::Log.info "#{new_resource} task is currently running, skipping run." else run_schtasks "RUN" new_resource.updated_by_last_action true |