Merge pull request #38635 from lorengordon/issue-38631

Sends pass-through params to state module
This commit is contained in:
Mike Place 2017-01-10 13:01:59 -07:00 committed by GitHub
commit cfd82d1631

View file

@ -253,6 +253,7 @@ def state(
cmd_kw['topfn'] = ''.join(cmd_kw.pop('arg'))
elif sls:
cmd_kw['mods'] = cmd_kw.pop('arg')
cmd_kw.update(cmd_kw.pop('kwarg'))
tmp_ret = __salt__[fun](**cmd_kw)
cmd_ret = {__opts__['id']: {
'ret': tmp_ret,