mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #32614 from rallytime/merge-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
This commit is contained in:
commit
05a41a13cd
@ -523,7 +523,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…
Reference in New Issue
Block a user