summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavin Taddeo <davin@chef.io>2020-06-18 16:16:58 -0400
committerDavin Taddeo <davin@chef.io>2020-06-18 16:16:58 -0400
commit38bf6fdd9916db2cb222bf4ca0687a12b1801aaa (patch)
treee6bafeddfa734e69f7b3f4166a969d2cdb740e01
parent000b69f2694e8dec35367778e3c86d8e30b0c0cc (diff)
downloadchef-38bf6fdd9916db2cb222bf4ca0687a12b1801aaa.tar.gz
add windows_security_policy to the windows end-to-end kitchen test
Signed-off-by: Davin Taddeo <davin@chef.io>
-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 2d228badfb..22f78db319 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
@@ -27,6 +27,11 @@ timezone "UTC"
include_recipe "ntp"
+windows_security_policy "EnableGuestAccount" do
+ secoption "EnableGuestAccount"
+ secvalue "1"
+end
+
users_manage "remove sysadmin" do
group_name "sysadmin"
group_id 2300