From 1beacb5bbeba0dbcf5f122c08f3c3cd0756a523a Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 11 Sep 2020 11:29:43 -0700 Subject: Update validation error message Signed-off-by: Tim Smith --- lib/chef/resource/windows_user_privilege.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource/windows_user_privilege.rb') 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| -- cgit v1.2.1