Reputation: 11
Brand new to Chef. I was curious if there's a way to obtain a list of groups in Chef? Essentially I want to create a restricted windows user who isn't a member of any group. Something like:
TheseAreAllTheWindowsGroupsOnTheSystem.each do |groupName|
group groupName do
action :modify
excluded_members: username
end
end
Upvotes: 0
Views: 315