Hello, I have problem with creating user under centos: part of my class:
user {jboss: ensure => present, home => "$jboss_home", shell => "/bin/bash", groups => jboss, } and in log I see: err change from absent to present failed: Could not create user jboss: Execution of '/usr/sbin/useradd -d /opt/jboss -G jboss -s /bin/ bash -M jboss' returned 9: useradd: group jboss exists - if you want to add this user to that group, use -g. I understand reason of problem. Flag "-M" should not be before username. But I did not understand how I can fix it. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.