Issue #12081 has been updated by Daniel Pittman. Status changed from In Topic Branch Pending Review to Merged - Pending Release Target version set to 2.7.11 Affected Puppet version deleted (2.7.10rc1)
Tim, I am sorry this didn't get responded to sooner. I must have missed it on my list of "blocked by a broken build" tickets earlier, and so it waited until I was checking older pull requests. Thanks so much for the submission. Don't hesitate to follow up if I promise to merge something, then fall through on you. ;) ---------------------------------------- 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: Merged - Pending Release Priority: Normal Assignee: Tim Bishop Category: FreeBSD Target version: 2.7.11 Affected Puppet version: 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.
