summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-12-30 15:57:04 -0800
committerPete Higgins <pete@peterhiggins.org>2020-12-30 16:02:22 -0800
commit6dfa208f81ba70bb24d980f6e8a881f36d0911da (patch)
tree6c86c02449fc15e3089a33ea83644ca61da18d6c /kitchen-tests
parent69129178ba11f8d4c329d477dfff9eacb4660025 (diff)
downloadchef-6dfa208f81ba70bb24d980f6e8a881f36d0911da.tar.gz
Coerce uid to integer in Windows user resource.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/windows.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
index 46176901dd..c6cd597fe0 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
@@ -125,4 +125,12 @@ include_recipe "::_ohai_hint"
hostname "new-hostname" do
windows_reboot false
-end \ No newline at end of file
+end
+
+user "phil" do
+ uid "8019"
+end
+
+user "phil" do
+ action :remove
+end