group_memberships

Manage group memberships for users.

Thomas

thomasb

6,086 downloads

6,086 latest version

4.0 quality score

Version information

  • 0.1.0 (latest)
released Apr 5th 2016

Start using this module

Documentation

thomasb/group_memberships — version 0.1.0 Apr 5th 2016

group_memberships

Examples

This will make sure that the user john is member of users & wheel

group_memberships { 'john':
  ensure => present,
  groups => [ 'users', 'wheel' ],
}

This will make sure that the user john is member users & wheel and will purge all other memberships for this user.

group_memberships { 'john':
  ensure => present,
  groups => [ 'users', 'wheel' ],
  purge  => true,
}