On 11/17/2010 07:01 PM, Nan Liu wrote: > On Wed, Nov 17, 2010 at 4:00 AM, Leonko <the.leo...@gmail.com> wrote: >> 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, >> } > > If it's the primary group use gid instead of groups.
...or "group" rather than "groups" (plural!). groups = -G (and takes an array) group = -g Cheers, Felix -- 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.