FAQ
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 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.dordevic@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+unsubscribe@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+unsubscribe@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+unsubscribe@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.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 10 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedMay 21, '13 at 12:39p
activeMay 22, '13 at 2:10p
posts10
users6
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase