Hi Paul, I found note in http://projects.puppetlabs.com/issues/7241. So I can do it using membership => inclusive (instead of key_membership)
I appreciate your help. Regards, eduardo. On 23 jul, 02:05, Paul Tötterman <paul.totter...@gmail.com> wrote: > Hi eduardo, > > > Is there another way to do it ?. > > user { "$username": > ensure => present, > key_membership => inclusive, > groups => ['all', 'groups', 'except', '$group'], # full listing of all > groups $username belongs to > > } > > or > > group { "$group", > ensure => present, > attribute_membership => inclusive, > members => ['all', 'members', 'except', '$username'], # full listing of > all members of $group > > } > > Cheers, > Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.