On Wed, Nov 17, 2010 at 4:00 AM, Leonko <[email protected]> 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.

   user {jboss:
           ensure   => present,
           home    => "$jboss_home",
           shell   => "/bin/bash",
           gid => jboss,
        }

Thanks,

Nan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to