On Thu, Jan 5, 2012 at 1:00 AM, jcbollinger <[email protected]>wrote:

>
> 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.
>

My group provider is "groupadd" I believe (default for most platforms), as
they are all RHEL boxes.


> 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.
>

Ah, ok. That confirms it then. I managed to create a define to do what I
want and it seems to work. Happy to share it if anyone is interested in it.

Thanks for your reply!

- Gonzalo

-- 
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