windows groups - append

34 views
Skip to first unread message

Helen Paterson

unread,
Aug 11, 2014, 4:01:06 AM8/11/14
to puppet...@googlegroups.com
Hi,

I would like puppet to add additional users to the "administrators" group, however it currently replaces the membership ( removing existing users).  How can i change this ?


class win_local_admin {

group { 'Administrators':
  ensure               => present,
  members              => ['Administrator',
                           'domain\tc-service-account',
                           'domain\Developers',
                           'domain\puppet-sa-test',],
  attribute_membership => minimum;
}

Rob Reynolds

unread,
Aug 11, 2014, 4:18:14 PM8/11/14
to puppet...@googlegroups.com
It appears that PUP-2628[1] is what you are currently experiencing?  What version of Puppet are you using on the windows agent(s) in question?

 

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7beb168a-e194-4076-ab47-c941506148c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Rob Reynolds
Developer, Puppet Labs

Join us at PuppetConf 2014September 20-24 in San Francisco
Register by September 8th to take advantage of the Final Countdown save $149!

Helen Paterson

unread,
Aug 19, 2014, 10:57:16 AM8/19/14
to puppet...@googlegroups.com
Hi,

The windows agent is running puppet 3.4.2.

Thanks for letting me know, its a known issue 
Reply all
Reply to author
Forward
0 new messages