On Jan 4, 12:48 am, Gonzalo Servat <[email protected]> wrote:
> Hi All,
>
> I have a particular requirement where a Puppet managed group needs to have
> several members that are either local and not managed by Puppet (e.g.
> mysql) or they reside in LDAP.
>
> Apart from running an exec call to "groupmems", is there another way to
> achieve this?


It depends on the Group provider, which usually depends on operating
system.  If you are using the default Group provider for AIX, OS X, or
Windows, then group membership is managed as an attribute of the group
instead of the user.  In those cases you can manage the group in
question and use its 'members' property to achieve your end.

Otherwise, group membership is managed as a property of Users, ergo
you cannot manage it (directly) if you do not manage the users in
question.  Your only options in that case are an Exec or a custom
Group provider.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to