Description
If a user attempts to create a Windows group with a member that does not exist the group will be created, but no members will be present.
Attachments
- Screen Shot
Repro Steps
- Install Puppet agent on Windows node.
- Attempt to create a group with invalid member specified:
puppet apply -e "group { 'Peeps': ensure => 'present', members => ['W2K8R2-1\Guest','W2K8R2-1\Meows'], }"
Expect
The Puppet run will fail and no group will be created.
Actual
The Puppet run fails, but the group is created with no members:
C:\>puppet apply -e "group { 'Peeps': ensure => 'present', members => ['xg1ongd9
|
bpi1rsf\Guest','xg1ongd9bpi1rsf\Meows'], }"
|
Notice: Compiled catalog for xg1ongd9bpi1rsf.delivery.puppetlabs.net in environm
|
ent production in 0.23 seconds
|
Error: Could not resolve username: xg1ongd9bpi1rsf\Meows
|
Error: /Stage[main]/Main/Group[Peeps]/ensure: change from absent to present fail
|
ed: Could not resolve username: xg1ongd9bpi1rsf\Meows
|
Notice: Finished catalog run in 0.06 seconds
|
- relates to
-
PUP-3653 Unable to create/force empty Windows groups
-
- Closed
-