Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Newbie - Failing to create a local group on windows server because user exists.

$
0
0
I am newbie with Puppet so I might be missing something obvious. I am trying to create a group in my lab (one puppet master PE 2016.5, one controlled node Win2012 R2). I am trying to create a group on server 'Test3' but the process fails because there is already user with that name. Code is as follows: class sharepoint_localgroups { group {'Test3': ensure => present, name => 'Test3', members => ['DEV\\NotTest3User'], auth_membership => false } } and I am receiving this message: Error: Cannot create group if user 'Test3' exists. Error: /Stage[main]/Sharepoint_localgroups/Group[Test3]/ensure: change from absent to present failed: Cannot create grou p if user 'Test3' exists. Group is created correctly if the user indeed doesn't exists (ie. Group Test1234 is created correctly)

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>