On Thu, Sep 08, 2011 at 04:48:09AM -0700, michaelkrieg wrote: > Hi, > > currently we're confused and quite unhappy with the Puppet user > management. It is possible to create users, make sure they're present > and so on. But: if you'd like to delete an user completely this seems > not be possible. Setting the directive "ensure" to "absent" deletes > the user from /etc/passwd/shadow/group - but the $HOME directory still > exists. > > What is wrong here?
Have you tried to use managehome => true when you set ensure => absent? http://docs.puppetlabs.com/references/stable/type.html#user-3 (Also check that your provider supports homedir management?) > Regards, > Michael > > -- > 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. > > -- 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.