Thanks you're great, I set it up and it's working now I changed my ensure to absent to delete then change it back to present and added managehome an it's working great you're ausome thanks man.
On May 31, 1:56 pm, Nigel Kersten <ni...@puppetlabs.com> wrote: > On Tue, May 31, 2011 at 10:50 AM, vella1tj <vella...@gmail.com> 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 puppet-users@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. > > -- > 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 puppet-users@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.