Merge branch '2015.5' into '2015.8'

No conflicts.
This commit is contained in:
rallytime 2016-04-15 12:11:59 -06:00
commit 046e401dd8

View file

@ -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