summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Magnus Rakvåg <tm@intility.no>2018-02-07 09:47:47 +0100
committerTor Magnus Rakvåg <tm@intility.no>2018-02-07 09:57:24 +0100
commit4bc319766f4306561806a4eccfb22427dadc13d3 (patch)
tree9eba43fc9620d14129a8b9c8ec2f8524518411fc
parent81dcf598634bd65eada7f9360e2c7a23944d10ef (diff)
downloadchef-4bc319766f4306561806a4eccfb22427dadc13d3.tar.gz
remove contractions
Signed-off-by: Tor Magnus Rakvåg tm@intility.no
-rw-r--r--lib/chef/provider/windows_task.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/chef/provider/windows_task.rb b/lib/chef/provider/windows_task.rb
index e4e8249a6c..4787aaf1cf 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 doesn't need updating and force not specified - nothing to do"
+ Chef::Log.info "#{new_resource} task does not need updating and force is not specified - nothing to do"
return
end
# Setting the attributes of new_resource as current_resource.
@@ -137,7 +137,7 @@ class Chef
end
end
else
- Chef::Log.warn "#{new_resource} task doesn't exist - nothing to do"
+ Chef::Log.warn "#{new_resource} task does not exist - nothing to do"
end
end
@@ -149,7 +149,7 @@ class Chef
run_schtasks "DELETE", "F" => ""
end
else
- Chef::Log.warn "#{new_resource} task doesn't exist - nothing to do"
+ Chef::Log.warn "#{new_resource} task does not exist - nothing to do"
end
end
@@ -164,7 +164,7 @@ class Chef
end
end
else
- Chef::Log.warn "#{new_resource} task doesn't exist - nothing to do"
+ Chef::Log.warn "#{new_resource} task does not exist - nothing to do"
end
end
@@ -179,8 +179,8 @@ class Chef
end
end
else
- Chef::Log.fatal "#{new_resource} task doesn't exist - nothing to do"
- raise Errno::ENOENT, "#{new_resource}: task doesn't exist, cannot enable"
+ Chef::Log.fatal "#{new_resource} task does not exist - nothing to do"
+ raise Errno::ENOENT, "#{new_resource}: task does not exist, cannot enable"
end
end
@@ -195,7 +195,7 @@ class Chef
Chef::Log.warn "#{new_resource} already disabled - nothing to do"
end
else
- Chef::Log.warn "#{new_resource} task doesn't exist - nothing to do"
+ Chef::Log.warn "#{new_resource} task does not exist - nothing to do"
end
end