Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
2
-
NW - 2020-05-27, NW - 2020-06-10
-
Needs Assessment
-
Bug Fix
-
Fixed an issue where Puppet would not add the correct command flags when ensuring a `user` resource with `managehome` enabled
-
Needs Assessment
Description
Regarding the code here:
There is an edge case that is missed. If force_local is true and manage_home is false, then "-M" should be added as a command line argument on Debian Jessie (and possibly others).
If this is not in place, a bug occurs as follows when running on Debian Jessie (and possibly others). First manually create `/home/bob` (like pam_mkhomedir might do) and then try to add `bob` with a resource like this, and it will fail:
user { 'bob': |
|
force_local => true, |
|
manage_home => false, |
|
... Other Params ...
|
|
}
|