mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
46a4e8a310
commit
3db5e78d5d
1 changed files with 4 additions and 1 deletions
|
@ -516,7 +516,10 @@ def present(name,
|
|||
if 'shadow.info' in __salt__:
|
||||
for key in spost:
|
||||
if lshad[key] != spost[key]:
|
||||
ret['changes'][key] = spost[key]
|
||||
if key == 'passwd':
|
||||
ret['changes'][key] = 'XXX-REDACTED-XXX'
|
||||
else:
|
||||
ret['changes'][key] = spost[key]
|
||||
if __grains__['kernel'] == 'OpenBSD':
|
||||
if lcpre != lcpost:
|
||||
ret['changes']['loginclass'] = lcpost
|
||||
|
|
Loading…
Add table
Reference in a new issue