On Tue, May 31, 2011 at 10:50 AM, vella1tj <[email protected]> wrote:

> user {'trevor' :
>   uid            => 500,
>   groups      => 'root',
>   comment  => 'this user was created by Mr. Puppet',
>   ensure      => present,
>   home        => '/home/trevor',
>   shell         => 'bin/bash',
> }
>
> I created this to create a User using puppet this was an exercise
> given by one of my co-workers to get me to learn puppet quicker, I
> created this and once it's applied it works I can login as the user
> but.... the home directory is not created, This is using CentOS in
> VMware Fusion.
>

You want to have a look at the managehome attribute:

http://docs.puppetlabs.com/references/stable/type.html#managehome



>
> --
> 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.
>
>


-- 
Nigel Kersten
Product, Puppet Labs
@nigelkersten

-- 
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