chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Provider::Group::Groupmod#reset_group_membership
This is tricky, but works: rename the existing group to "<name>_bak", create a new group with the same GID and "<name>", then set correct members on that group
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/provider/group/groupmod.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Provider--Group--Groupmod-reset_group_membership-for-pr
# Commit to gitgit add lib/chef/provider/group/groupmod.rbgit commit -m "better docs for Chef::Provider::Group::Groupmod#reset_group_membership"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Provider--Group--Groupmod-reset_group_membership-for-pr
hub pull-request
# Celebrate!