diff options
author | Lance Albertson <lance@osuosl.org> | 2021-03-15 14:14:30 -0700 |
---|---|---|
committer | Lance Albertson <lance@osuosl.org> | 2021-03-15 14:14:30 -0700 |
commit | eb83cfeefd4beba070a2b0d90db5b202d269a806 (patch) | |
tree | f9f503a025cf26c5dae4e5a98cdc08e8a5d26538 | |
parent | db2a034dd191dfb57f45209f45890f1b52160db0 (diff) | |
download | chef-eb83cfeefd4beba070a2b0d90db5b202d269a806.tar.gz |
Temporarily disable use of users cookbook on Windows
There seems to be an issue with the users cookbook on Windows that needs to be
addressed. Comment this test out for now until it can be fixed.
Signed-off-by: Lance Albertson <lance@osuosl.org>
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/windows.rb | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb index 4527f86971..6e7ebf08a7 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb @@ -86,22 +86,23 @@ windows_audit_policy "Update Some Advanced Audit Policies to No Auditing" do failure false end -users_from_databag = search("users", "*:*") - -users_manage "remove sysadmin" do - group_name "sysadmin" - group_id 2300 - users users_from_databag - action [:remove] -end - -# FIXME: create is not idempotent. it fails with a windows error if this already exists. -users_manage "create sysadmin" do - group_name "sysadmin" - group_id 2300 - users users_from_databag - action [:create] -end +# FIXME: upstream users cookbooks is currently broken on windows +# users_from_databag = search("users", "*:*") +# +# users_manage "remove sysadmin" do +# group_name "sysadmin" +# group_id 2300 +# users users_from_databag +# action [:remove] +# end +# +# # FIXME: create is not idempotent. it fails with a windows error if this already exists. +# users_manage "create sysadmin" do +# group_name "sysadmin" +# group_id 2300 +# users users_from_databag +# action [:create] +# end include_recipe "::_chef_client_config" include_recipe "::_chef_client_trusted_certificate" |