Thank you! Thank you! I did not knew what is  important.
On Nov 19, 9:28 pm, Felix Frank <[email protected]>
wrote:
> On 11/17/2010 07:01 PM, Nan Liu wrote:
>
> > 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.
>
> ...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 [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