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)
↧