Issue #12081 has been updated by Tim Bishop. Status changed from Unreviewed to In Topic Branch Pending Review Branch set to https://github.com/puppetlabs/puppet/pull/391
---------------------------------------- Bug #12081: The pw user provider on FreeBSD doesn't remove the user's home directory when deleting the user and managehome is set https://projects.puppetlabs.com/issues/12081 Author: Tim Bishop Status: In Topic Branch Pending Review Priority: Normal Assignee: Tim Bishop Category: FreeBSD Target version: Affected Puppet version: 2.7.10rc1 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/391 This issue is identical to #10354 but for the pw user provider rather than the useradd provider. The documentation states the the managehome flag means "The provider can create and remove home directories". However this is untrue for the pw provider since the -r flag is missing from the command. This demonstrates the issue (taken from #10354): <pre> ralsh user test2 ensure=present managehome=true allowdupe=false uid=10000 && ls -l /home ralsh --debug user test2 ensure=absent managehome=true allowdupe=false uid=10000 && ls -l /home </pre> The home directory will still exist and the command executed in the second step is: <pre> debug: User[test2](provider=pw): Executing '/usr/sbin/pw userdel test2' </pre> I've been aware of this for a while but I've been waiting to see what the decision was on #10354. I'll work on a fix and do a pull request. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
