Issue #1861 has been updated by Ken Barber.
An alternative workaround for this is to use augeas:
augeas{ 'group_mygroup':
changes => 'set /files/etc/group/mygroup/user "myuser"',
}
----------------------------------------
Feature #1861: manage_membership for unix groups provider
https://projects.puppetlabs.com/issues/1861
Author: Joe McDonagh
Status: Accepted
Priority: Normal
Assignee:
Category: group
Target version: unplanned
Affected Puppet version: 0.24.7
Keywords: group manage_membership unix
Branch:
I searched and didn't see this feature request so if is/was at some point
forgive me.
I'd like to be able to define the users that belong to a group in the group's
resource. My compelling reason is that a specific unix group is used to
determine ssh access via AllowGroups in sshd_config, and I'd like to make sure
that at all times only specific users are in that group. My workaround is to
manage /etc/group as a file resource, which isn't very puppet-like.
--
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.