Change return value for salt/states/augeas.py to be True instead of None for cases where salt is run with test=True. Fixes #37870

This commit is contained in:
Daniel Boughton 2016-11-25 14:14:29 -05:00
parent ea935c5a91
commit b0fe0cd256

View file

@ -265,7 +265,7 @@ def change(name, context=None, changes=None, lens=None,
filename = re.sub('^/files|/$', '', context)
if __opts__['test']:
ret['result'] = None
ret['result'] = True
ret['comment'] = 'Executing commands'
if context:
ret['comment'] += ' in file "{0}":\n'.format(context)