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 on node vm6740.muc.baag And I tried this group { "$group_$username": name => "$group", gid => "$gid", ensure => present, } but I got this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Group[testuser1] to ["badm"] at /etc/puppet/git/modules/useradd/manifests/init.pp:13; resource ["Group", "baaderadm"] already declared at /etc/puppet/git/modules/useradd/manifests/init.pp:13 at /etc/puppet/git/modules/useradd/manifests/init.pp:13 on node vm6740.muc.baag Regards, Andreas
-- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.