diff options
author | Davin Taddeo <davin@chef.io> | 2020-12-13 16:11:03 -0500 |
---|---|---|
committer | Davin Taddeo <davin@chef.io> | 2020-12-13 16:11:03 -0500 |
commit | c8a04c88f4954e5d5438ead9c6be61ef23ede630 (patch) | |
tree | b5ca033c26b308cf8189a7afc59cb8e4ef7bb93c /kitchen-tests/cookbooks | |
parent | dc87ae778505f19e1e1b01ce19519d123ae2684c (diff) | |
download | chef-c8a04c88f4954e5d5438ead9c6be61ef23ede630.tar.gz |
This should do what I want, without the problems we've seen previously.
Signed-off-by: Davin Taddeo <davin@chef.io>
Diffstat (limited to 'kitchen-tests/cookbooks')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/windows.rb | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb index f733041a78..46176901dd 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb @@ -27,23 +27,28 @@ timezone "Pacific Standard time" include_recipe "ntp" -windows_security_policy 'NewGuestName' do - secvalue 'down_with_guests' +windows_security_policy "NewGuestName" do + secvalue "down_with_guests" action :set end -windows_security_policy 'EnableGuestAccount' do - secvalue '1' +windows_security_policy "EnableGuestAccount" do + secvalue "1" action :set end -windows_security_policy 'LockoutBadCount' do - secvalue '10' +windows_security_policy "LockoutBadCount" do + secvalue "15" action :set end -windows_security_policy 'LockoutDuration' do - secvalue '15' +windows_security_policy "LockoutDuration" do + secvalue "30" + action :set +end + +windows_security_policy "ResetLockoutCount" do + secvalue "15" action :set end |