Hi,

Have you had a look at this?
https://docs.puppetlabs.com/puppet/latest/reference/type.html#group-attribute-members

Taking into consideration wheel is a local group, you could remove any user 
from it simply by amending its members.

Regards


On Sunday, 6 March 2016 14:17:26 UTC, shyam sundar Keshari wrote:
>
> Hi Friends,
>
> Need your help to complete 1 task describe below :
>
> 1.>Need to add users (ldap user) in wheel group 
> 2.>Remove user from wheel group .
>
> I am able to add using below steps :
>
> user { 'shyam.kumar':                        ----- shyam.kumar  (ldap user 
> not locally created )
> gid => '11000',         --------- this is ldap gid for my user 
> groups => 'wheel',
> }
>
> So kindly provide any modules or code which can remove user from wheel ..
>
> NOTE: Using ldap(Active directory ) account  credential to login to all 
> linux using SSSD configuratino.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/926a0b98-455a-4517-b278-eea09fda1779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to