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:40:12 -0700
commit8cfb078f2a9aa0c22f69ca1ba8b880043112de16 (patch)
treecc2a76263354136a475e161c678871383ded3e89
parent9b17a9dbbd6e25d8f3ac0ac2f75f0148f1cfb056 (diff)
downloadchef-8cfb078f2a9aa0c22f69ca1ba8b880043112de16.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 1f00d4ea7e..c04b98ea72 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
@@ -66,22 +66,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"