added-highstate-output-to-slack-engine

This commit is contained in:
Giandom 2017-12-14 19:21:40 +01:00 committed by GitHub
parent 573a0a4143
commit 4526c158f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,7 +272,7 @@ def start(token,
ret = local.cmd('{0}'.format(target), cmd, arg=args, kwarg=kwargs, tgt_type='{0}'.format(tgt_type))
if ret:
salt.output.highstate.__opts__ = __opts__
salt.output.highstate.__opts__ = __opts__
if 'color' not in salt.output.highstate.__opts__:
salt.output.highstate.__opts__.update({"color": ""})
return_text = salt.output.highstate.output(ret)