On Tuesday, November 6, 2012 12:36:19 PM UTC-6, Josh Cooper wrote: > > I have a question for windows users out there. Adam recently reported a > bug[1] that the managehome parameter on Windows doesn't work. According to > the documentation (since 2.7.6), the "manages_homedir [feature is defined > as] The provider can create and remove home directories."[2] > > As such, the fix for #15560 will create/delete the home directory when > ensure => present/absent, respectively, and managehome => true. Note, > managehome is false by default. This fix is targeted for 2.7.20 and is in > alignment with other *nix-y user providers that support the manages_homedir > feature, e.g. useradd. > > However, there may be users out there that have set `managehome => true` > in their manifests, and are unaware of what that parameter means. Worse, > they may be surprised when upgrading to 2.7.20. > > Clearly, we're fixing a bug, and matching the behavior as described in our > documentation, but we'd also like to keep 2.7.20 as stable as possible. > Comments welcome. > > Also, Puppet 3.0 does create and delete the home directory, as expected. >
Create *and* delete? Is that just the Windows provider, or also the others that support the manages_homedir feature? Historic behavior, at least for some providers, was to create the homedir upon user creation, but not to remove it upon user removal. There are circumstances in which that is preferable, and you certainly would not want to surprise users who depend on it. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/_vl1ZBBOAh4J. 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.