summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorDavin Taddeo <davin@chef.io>2020-09-11 10:34:37 -0400
committerDavin Taddeo <davin@chef.io>2020-09-11 10:34:37 -0400
commitd547ad292989fce0655fe8be1846d9dd395ce04c (patch)
tree231b7096b90aeba5cf44e918c47352244074e610 /kitchen-tests
parentacb0178b9fe02483dcb855a32e5e5de46e137127 (diff)
downloadchef-d547ad292989fce0655fe8be1846d9dd395ce04c.tar.gz
A validation update to the windows_user_privilege resource I believe will assist with issue #10420
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/windows.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
index 33fc16e38a..6ae873d166 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
@@ -38,6 +38,11 @@ windows_firewall_profile "Domain" do
action :enable
end
+windows_user_privilege "BUILTIN\\Administrators" do
+ privilege %w(SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege)
+ action :add
+end
+
windows_firewall_profile "Public" do
action :disable
end