>From the docs for `home`: "The home directory of the user. The
directory must be created separately and is not currently checked for
existence."

`managehome` doesn't ensure the creation of the home directory, I
believe it just checks permissions.

Cheers!

-Jeff

On Tue, May 21, 2013 at 6:22 PM, Denmat <tu2bg...@gmail.com> wrote:
> Hi,
>
> That should work. Can you provide a bit more info? Versions of puppet and
> Ubuntu.
>
> Can you also provide the output from your run with --debug?
>
> Make sure the user is removed before you run again.
>
> Cheers
> Den
>
> On 21/05/2013, at 22:39, dusan.dorde...@clavistechnology.com wrote:
>
> Hi,
>
> I am trying to create user on Ubuntu using this code:
>
>         user { "clavis":
>                 ensure => "present",
>                 home => "/home/clavis",
>                 name => "clavis",
>                 shell => "/bin/bash",
>                 managehome => true,
>                 groups => 'clavis',
>                 require => Group['clavis']
>         }
>
> User is created properly, but home directory is not created, although I
> explicitly set mamagehome to true. Any idea what might be the problem here ?
>
> Thanks in advance,
> Dusan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to