How do I tell Puppet to remove a user from a specific group? I need this capability in order to be able to back out the change below. The specified account may or may not be in other groups so I cannot use `membership => inclusive''. Example: group { ''dbusers'': gid => 881, ensure => present; } user { mule: groups => [''dbusers''], membership => minimum, require => Group[''dbusers'']; } -- Jos Backus jos at catnook.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Sep 15, 2009 at 12:41:16PM -0700, Jos Backus wrote:> How do I tell Puppet to remove a user from a specific group?Turns out `gpasswd -d user group'' handles this on RedHat-based OSes. Would be nice if the groupadd provider supported this. :-) -- Jos Backus jos at catnook.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
James Turnbull
2009-Sep-21 23:35 UTC
[Puppet Users] Re: Remove user from a specific group?
2009/9/22 Jos Backus <jos@catnook.com>:> > On Tue, Sep 15, 2009 at 12:41:16PM -0700, Jos Backus wrote: >> How do I tell Puppet to remove a user from a specific group? > > Turns out `gpasswd -d user group'' handles this on RedHat-based OSes. Would be > nice if the groupadd provider supported this. :-) >Can you open a ticket please Jos. Thanks James Turnbull -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Sep 22, 2009 at 09:35:55AM +1000, James Turnbull wrote:> Can you open a ticket please Jos.Filed as http://projects.reductivelabs.com/issues/2667. Thanks, James. -- Jos Backus jos at catnook.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---