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-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to