vella1tj
2011-May-31 17:50 UTC
[Puppet Users] User''s Home Folder is not Being created but the user is there.
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 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2011-May-31 17:56 UTC
Re: [Puppet Users] User''s Home Folder is not Being created but the user is there.
On Tue, May 31, 2011 at 10:50 AM, vella1tj <vella1tj@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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nick Lewis
2011-May-31 17:56 UTC
Re: [Puppet Users] User''s Home Folder is not Being created but the user is there.
On Tuesday, May 31, 2011 at 10:50 AM, vella1tj 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''ll need to set the ''managehome'' parameter to tell Puppet to actually create the home directory.> -- > 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 (mailto:puppet-users@googlegroups.com). > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com (mailto:puppet-users+unsubscribe@googlegroups.com). > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Trevor Vella
2011-May-31 18:18 UTC
Re: [Puppet Users] User''s Home Folder is not Being created but the user is there.
You guys are awesome just added it.... I delete my trevor user and recreated it and it''s working flawlessly sorry for wasting your time on such a medial task and thanks so much for getting back to me. On Tue, May 31, 2011 at 1:56 PM, Nick Lewis <nick@puppetlabs.com> wrote:> On Tuesday, May 31, 2011 at 10:50 AM, vella1tj 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''ll need to set the ''managehome'' parameter to tell Puppet to actually > create the home directory. > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- *Trevor J. Vella* * * Cell Phone: 517-677-2225 Email: vella1tj@gmail.com -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
vella1tj
2011-May-31 18:56 UTC
[Puppet Users] Re: User''s Home Folder is not Being created but the user is there.
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, Nick Lewis <n...@puppetlabs.com> wrote:> On Tuesday, May 31, 2011 at 10:50 AM, vella1tj 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''ll need to set the ''managehome'' parameter to tell Puppet to actually create the home directory. > > > > > > > > > -- > > 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 (mailto:puppet-users@googlegroups.com). > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com (mailto:puppet-users+unsubscribe@googlegroups.com). > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
vella1tj
2011-May-31 18:57 UTC
[Puppet Users] Re: User''s Home Folder is not Being created but the user is there.
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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.