Issue #4379 has been updated by James Turnbull. Status changed from Needs more information to Closed Target version changed from 2.6.2 to 2.6.1
This is fixed in commit:"9bdfe694bc6c60a48b45f8dd49c20c6da31445f7" in 2.6.x ---------------------------------------- Bug #4379: Group provider for redhat: incorrect use of groupmod http://projects.puppetlabs.com/issues/4379 Author: Sylvain Avril Status: Closed Priority: Normal Assignee: Category: Target version: 2.6.1 Affected version: 2.6.0 Keywords: Redhat, group Branch: When using the following code with Redhat 5.4 and puppet 2.6.0, puppet use the groupmod with inexistant parameters for redhat : <pre> group { "mygroup" : ensure => present, members => [ "myuser" ], } </pre> This is the error on puppet output : err: /Stage[main]/Was_base/Group[mygroup]/members: change from namepasswdgidmem to myuser failed: Could not set members on group[mygroup]: Execution of '/usr/sbin/groupmod -m myuser mygroup' returned 2: /usr/sbin/groupmod: invalid option -- m Usage: groupmod [-g gid [-o]] [-n name] group A workaround could be to use usermod with all users: /usr/sbin/usermod -a -G mygroup myuser -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
