Unfortunately it is still not creating the Home folder but it is at
least creating the User and assigning it the proper values!!:D
I'm going to try doing a mdir to create the home folder. Let me know
what you think about that, here is what I have right now.
user {'user':
uid => 501,
gid => 'staff',
#comment => "some random comment",
ensure => present,
home => '/Users/user',
shell => '/bin/bash',
# provider => user_role_add,
password => 'Hash,
}
exec {"/usr/sbin/createhomedir -c -l -u user":
subscribe => User[user],
refreshonly => true,
}
The weird thing is even manually using the createdir command is not
working. I thought maybe their was something wrong with the OS
installation because its on a macbook air so I tried it on my actual
Imac work computer. I deleted the local admin account then ran the
command it created the user but not the home folder still. I forget to
set myself as admin so I had to have my manager su user then create
the folder and he was able to. So it's def the script that I wrote
that is not working. Thanks for your time again Nigel I do appreciate
it.
If there is any information that I ommited that is needed just tell me
and I'll do my best to give you whatever you need.
On Jun 10, 1:11 pm, Nigel Kersten <[email protected]> wrote:
> On Fri, Jun 10, 2011 at 8:34 AM, vella1tj <[email protected]> wrote:
> > Thanks going to try that right now sorry that the error wasn't more
> > helpful.
>
> You're completely misunderstanding me :) The error not being helpful is
> Puppet's fault, not yours at all :)
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.