On Tuesday, May 21, 2013 5:37:52 PM UTC-5, Jeff Zellner wrote:
>
> 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
> belie
ent: Wednesday, May 22, 2013 9:07:53 AM
Subject: Re: [Puppet Users] Problem creating user with Puppet
This was the problem, when I removed
groups => 'clavis',
everything started working.
Thanks !
Best regards,
Dušan
On Wed, May 22, 2013 at 2:03 PM, Dan White
ometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has tried to contact us.”
> Bill Waterson (Calvin & Hobbes)
>
> - Original Message -
> From: "Dusan Dordevic"
> To: puppet-users@googlegroups.com
>
is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
----- Original Message -
From: "Dusan Dordevic"
To: puppet-users@googlegroups.com
Sent: Wednesday, May 22, 2013 7:27:45 AM
Subject: Re: [Puppet Users] Problem creating user with Puppet
Hi,
Hi,
I changed code to:
file { "/home/clavis":
ensure => "directory",
owner => "clavis",
group => "clavis",
mode => 700,
require => [ User[clavis], Group[clavis] ],
}
group { 'clavis':
On 22 May 2013 09:43, Dusan Dordevic wrote:
> groups => 'clavis',
>
you don't need this next line, it'll be auto-required.
> require => Group['clavis']
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from t
Hi,
Thanks for responses. I added piece of code that will create home dir. Code
now looks like this:
file { "/home/clavis":
ensure => "directory",
owner => "clavis",
group => "clavis",
mode => 700,
require => [ User[clavis], Group[clavis] ],
}
>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,
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 a
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 => 'cl
Hi,
(Since I am relatively new to Puppet, this might be some trivial problem)
I am trying to create a user with Puppet, using following code:
user { "clavis":
ensure => "present",
home => "/home/clavis",
name => "clavis",
sh
11 matches
Mail list logo