mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #30125 from abednarik/update_user_home
Update user home event when createhome is set to False
This commit is contained in:
commit
9363d6f5b6
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ def _changes(name,
|
|||
if _group_changes(lusr['groups'], wanted_groups, remove_groups):
|
||||
change['groups'] = wanted_groups
|
||||
if home:
|
||||
if lusr['home'] != home and createhome:
|
||||
if lusr['home'] != home:
|
||||
change['home'] = home
|
||||
if createhome:
|
||||
newhome = home if home else lusr['home']
|
||||
|
|
Loading…
Add table
Reference in a new issue