Hi Sergey,
thank you but that did not help. I got the error message:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Duplicate declaration: Group[addgroup_badm] is already declared in file
/etc/puppet/git/modules/useradd/manifests/init.pp at line 12; cannot
redeclare
Hello,
try
group { "addgroup_$group":
name => $group,
git => $gid
}
--
Best regards,
Sergey Arlashin
On Aug 6, 2013, at 10:30 AM, Andreas Dvorak
wrote:
> Hello,
>
> I have written a module to add user and it does work with one user. But if I
> use two user puppet tells me:
>
Hello,
I have written a module to add user and it does work with one user. But if
I use two user puppet tells me:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Duplicate declaration: Group[badm] is already declared in file
/etc/puppet/git/modules/useradd/manifests/