summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_task.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-06 13:25:48 -0800
committerTim Smith <tsmith@chef.io>2017-12-06 20:00:00 -0800
commit988263fddb8e077fc6acc21a9a45fd47b0f5fb60 (patch)
tree641b647098fa2e14a2e197a03ac86fcafa69118c /lib/chef/resource/windows_task.rb
parent804d61eecefd9b9d87e42f5cde5386be511a044b (diff)
downloadchef-988263fddb8e077fc6acc21a9a45fd47b0f5fb60.tar.gz
Clarify that we're talking about the 1 and only SYSTEM user here
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/windows_task.rb')
-rw-r--r--lib/chef/resource/windows_task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_task.rb b/lib/chef/resource/windows_task.rb
index 235bbdfd67..98e002dc54 100644
--- a/lib/chef/resource/windows_task.rb
+++ b/lib/chef/resource/windows_task.rb
@@ -121,7 +121,7 @@ class Chef
def validate_user_and_password(user, password)
if user && use_password?(user)
if password.nil?
- raise ArgumentError, "Can't specify a non-system user without a password!"
+ raise ArgumentError, "Cannot specify a user other than the 'SYSTEM' user without specifying a password!"
end
end
end