The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
managehome parameter for user resources is misleadingly named, should be 'createhome'
|Affected Puppet version:||2.6.7||Branch:|
After a user has been created via puppet “user” function with “managehome => true” it does not detect if the home directory has been deleted. This is tested on RHEL 5.5 (current).
 – Deprecate ‘managehome’ in Telly, add ‘createhome’.
#1 Updated by Nan Liu about 3 years ago
- Status changed from Unreviewed to Needs More Information
Puppet only creates the home directory if the user account does not exist because managehome is a parameter and not a property. In this case the implementation is simply using the -m flag to create the directory when creating the user. If the directory needs to exist and be enforced by puppet, use the file resource to manage it instead, this also gives the flexibility of allowing the home directory exist as symlink, zfs filesystem, etc.
#3 Updated by Nigel Kersten almost 3 years ago
- Subject changed from "user" value "managehome" does not detect missing home directory to managehome parameter for user resources is misleadingly named, should be 'createhome'
- Target version changed from 2.6.x to 3.x
We’ll add an alias for this in Telly, and deprecate the old name, with ‘managehome’ to be removed in Telly+1.