summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-09-15 16:48:15 -0700
committerTim Smith <tsmith@chef.io>2017-09-18 10:10:55 -0700
commit2454aadc460b4f5c3764862059794eab2bf1b877 (patch)
treec651f6725d92670f160821eb2eff645da01d4516
parent5749c193e2e26a9cee63df51196315faf257c5eb (diff)
downloadchef-2454aadc460b4f5c3764862059794eab2bf1b877.tar.gz
Update users cookbook usage to use the resource
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--kitchen-tests/cookbooks/base/recipes/default.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/kitchen-tests/cookbooks/base/recipes/default.rb b/kitchen-tests/cookbooks/base/recipes/default.rb
index 37025a96ee..896fd422b4 100644
--- a/kitchen-tests/cookbooks/base/recipes/default.rb
+++ b/kitchen-tests/cookbooks/base/recipes/default.rb
@@ -34,7 +34,10 @@ include_recipe "ntp"
include_recipe "resolver"
-include_recipe "users::sysadmins"
+users_manage "sysadmin" do
+ group_id 2300
+ action [:create]
+end
include_recipe "sudo"