summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-11 11:29:43 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-11 11:29:43 -0700
commit1beacb5bbeba0dbcf5f122c08f3c3cd0756a523a (patch)
tree7638c6057d50ac86aa8afbca5bf71468c809f7dd
parent9b5d5f5172001bce80689635514f713469c142a7 (diff)
downloadchef-davin-main.tar.gz
Update validation error messagechef-davin-main
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/windows_user_privilege.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_user_privilege.rb b/lib/chef/resource/windows_user_privilege.rb
index 639e27e987..971338303d 100644
--- a/lib/chef/resource/windows_user_privilege.rb
+++ b/lib/chef/resource/windows_user_privilege.rb
@@ -138,7 +138,7 @@ class Chef
required: true,
coerce: proc { |v| Array(v) },
callbacks: {
- "Option privilege must include any of the: #{PRIVILEGE_OPTS}" => lambda { |n| (n - PRIVILEGE_OPTS).empty? },
+ "Privilege property restricted to the following values: #{PRIVILEGE_OPTS}" => lambda { |n| (n - PRIVILEGE_OPTS).empty? },
}
load_current_value do |new_resource|