> > Sounds like a bug to me. A user with managehome => true but no home > directory should not be in sync. You may want to report this (or vote on > the bug if it's been reported already).
I wasn't able to find a bug similar to this based on the search criteria, so I filed bug #7002. > > > In a virtual user configuration, what's the best way to ensure that > > the home directory is also present, in addition to the /etc/passwd > > entries (or, dependent on each other)? > > I don't understand what the user's being virtual has to do with this, > please elaborate. What I mean is provided that "managehome" doesn't actually "manage" the directory after creation, what's a clever way to tie in this (somewhat obvious) dependency into the user creation/tracking. Perhaps with some wrapper around the call. > A simple workaround is to wrap the user type in your own define. This > define will manage the home dir as a file type resource and you don't > use managehome at all. I think it's quite common to do that, since > people probably want to ensure the existence of .ssh/authorized_keys or > similar things as well. Thanks, yes I think I'm going to try doing this. -- 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.