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,6 +523,9 @@ def present(name,
|
|||||||
if 'shadow.info' in __salt__:
|
if 'shadow.info' in __salt__:
|
||||||
for key in spost:
|
for key in spost:
|
||||||
if lshad[key] != spost[key]:
|
if lshad[key] != spost[key]:
|
||||||
|
if key == 'passwd':
|
||||||
|
ret['changes'][key] = 'XXX-REDACTED-XXX'
|
||||||
|
else:
|
||||||
ret['changes'][key] = spost[key]
|
ret['changes'][key] = spost[key]
|
||||||
if __grains__['kernel'] == 'OpenBSD':
|
if __grains__['kernel'] == 'OpenBSD':
|
||||||
if lcpre != lcpost:
|
if lcpre != lcpost:
|
||||||
|
Loading…
Reference in New Issue
Block a user