How i can realize group membership? This construction does not work group { "developers": ensure => present, members => [''testusers'',''noname''] } I want in /etc/groups must be: developers:x:1011:testusers,noname Thank you. -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
AFAIK you are just able to define the groups for an user. user { devolperXY : ... groups => [''testusers'',''noname''], ... } Am Dienstag, 19. Februar 2013 15:40:34 UTC+1 schrieb Vlados Vlados:> > How i can realize group membership? > > This construction does not work > group { "developers": > ensure => present, > members => [''testusers'',''noname''] > } > > I want in /etc/groups must be: > developers:x:1011:testusers,noname > Thank you. >-- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Per the docs, the members parameter is only... "For directory services where group membership is stored in the group objects, not the users". That is, unless you''re using some provider other than groupadd or ldap, that parameter isn''t applicable. On Tuesday, February 19, 2013 6:40:34 AM UTC-8, Vlados Vlados wrote:> > How i can realize group membership? > > This construction does not work > group { "developers": > ensure => present, > members => [''testusers'',''noname''] > } > > I want in /etc/groups must be: > developers:x:1011:testusers,noname > Thank you. >-- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.