diff options
author | Tim Smith <tsmith@chef.io> | 2021-07-19 19:28:57 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2021-07-20 08:30:52 -0700 |
commit | d09ed3d3777830f583b3a8a90ad27065d3b49405 (patch) | |
tree | 15ba59516b007cc21416c286e59715d87311d16c /kitchen-tests | |
parent | 1c5ed34b292c21561e535f9e7474d1392f9cfd86 (diff) | |
download | chef-d09ed3d3777830f583b3a8a90ad27065d3b49405.tar.gz |
Add windows_update_settings resource
Copied from the desktop-config cookbook and simplified a little bit to
skip properties we can calculate automatically.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/windows.rb | 5 |
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 34e1048074..116e78ce6c 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb @@ -185,3 +185,8 @@ include_recipe "::_habitat_win_sup" include_recipe "::_habitat_win_user_toml" include_recipe "::_windows_printer" include_recipe "::_windows_defender" + +windows_update_settings "Disable Windows Update" do + block_windows_update_website true + disable_automatic_updates true +end |