mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #38635 from lorengordon/issue-38631
Sends pass-through params to state module
This commit is contained in:
commit
cfd82d1631
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue