Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Fixed
-
Affects Version/s: 0.10.8
-
Fix Version/s: 0.10.10
-
Component/s: Chef Client
-
Labels:None
Description
Came accross this some weeks ago,
a debian package creates a system user, for some reason its homedir is set to '/var/lib/daemon-user1/' (trailing slash)
i use the user resource with home "/var/lib/daemon-user1" (without the trailing slash)
chef tries to change the home field to "/var/lib/daemon-user1".
no luck here, user is logged in ! usermod fails, chef fails on every run ! ![]()
would you agree updating_home? should ignore the trailing slash ?
we obviously don't want any updating if the directories are the same, do we ? ![]()
i guess we might also go a bit further and remove trailing slashes as well
https://github.com/llaurent/chef/compare/CHEF-3033
I'll add a test a bit later