summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <lance@osuosl.org>2021-03-15 14:14:30 -0700
committerLance Albertson <lance@osuosl.org>2021-03-15 14:14:30 -0700
commiteb83cfeefd4beba070a2b0d90db5b202d269a806 (patch)
treef9f503a025cf26c5dae4e5a98cdc08e8a5d26538
parentdb2a034dd191dfb57f45209f45890f1b52160db0 (diff)
downloadchef-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.rb33
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"