add changes to test return

This commit is contained in:
Daniel Wallace 2017-10-18 11:25:02 -06:00
parent d89c317d96
commit d3d00c3e62
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -2258,6 +2258,7 @@ def directory(name,
if __opts__['test']:
ret['result'] = presult
ret['comment'] = pcomment
ret['changes'] = ret['pchanges']
return ret
if not os.path.isdir(name):