user {'username':
uid => 501,
gid => 'staff',
comment => 'comment',
ensure => present,
home => '/Users/sysop',
shell => '/bin/bash',
managehome => true,
password => 'hash',
}
I run the command puppet init.pp to apply it (mac osx 10.6) and I get
"Parameter managehome failed: User provider directoryservice can not
manage home directories at /private/ectic/puppet/init.pp:11
I looked at line 11 which is actually where the "}" is so I feel that
can' be wrong. I believe maybe they're could be something on my test
mac that is blocking puppet from creating the home directory.... Any
help would be appreciated and thanks in advance for any response!
Two of my co-workers attempted to help me, they changed a few settings
to this:
user {'username':
uid => 501,
gid => 'staff',
#comment => 'comment',
ensure => present,
# managehome => true,
home => '/Users/username',
shell => '/bin/bash',
provider => dscl,
password => 'hash',
}
I would then get the error
"could not find a default route. Using first non-loopback interface
Time out seeking value for ipaddress" This is repeated multiple
times.
"warning: Could not retrieve fact ipadresss.
Not believing that it was due to not pulling a ipaddress (besides
172)
it was but it is still not creating the home folder even when
managehome is not commented out.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thanks going to try that right now sorry that the error wasn't more
helpful.
so the copying way of the user template is prolly not the best way?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Well I haven't got on top of debugging the createhomdir but I just
wanted to let you know how we got the command to work. this is the
exec as follows
exec {'username':
command =>"cp -R /System/Library/templateuser/English.lproj/ /
Users/username/",
path =>"/bin/",
#everything else that we where using has been commented out.
}
The path command was key and one of my managers was just screwing with
it and got it to work. The manifests are different a little bit
because i went in and changed the "User Template" to "templateuser"
because i thought puppet was having a hard time on the files with
spaces. Just thought you would want to know. Again thank you so much
you are awesome Nigel, if there is anything I could do for you just
let me know:)