Merge pull request #51465 from ezh/50556

fix #50556 state.orchestrate_show_sls
This commit is contained in:
Daniel Wozniak 2019-02-12 22:11:48 -07:00 committed by GitHub
commit 884981f735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,7 +209,7 @@ def orchestrate_high(data, test=None, queue=False, pillar=None, **kwargs):
def orchestrate_show_sls(mods, def orchestrate_show_sls(mods,
saltenv='base', saltenv='base',
test=None, test=None,
exclude=None, queue=False,
pillar=None, pillar=None,
pillarenv=None, pillarenv=None,
pillar_enc=None): pillar_enc=None):
@ -234,12 +234,12 @@ def orchestrate_show_sls(mods,
minion = salt.minion.MasterMinion(__opts__) minion = salt.minion.MasterMinion(__opts__)
running = minion.functions['state.show_sls']( running = minion.functions['state.show_sls'](
mods, mods,
saltenv,
test, test,
exclude, queue,
pillar=pillar, pillar=pillar,
pillarenv=pillarenv, pillarenv=pillarenv,
pillar_enc=pillar_enc) pillar_enc=pillar_enc,
saltenv=saltenv)
ret = {minion.opts['id']: running} ret = {minion.opts['id']: running}
return ret return ret