mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43817 from The-Loeki/orch-pillarenv
Orchestrate runner forces pillarenv and saltenv to None
This commit is contained in:
commit
62c4addef8
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@ def orchestrate(mods,
|
|||
)
|
||||
__opts__['file_client'] = 'local'
|
||||
minion = salt.minion.MasterMinion(__opts__)
|
||||
|
||||
if pillarenv is None and 'pillarenv' in __opts__:
|
||||
pillarenv = __opts__['pillarenv']
|
||||
if saltenv is None and 'saltenv' in __opts__:
|
||||
saltenv = __opts__['saltenv']
|
||||
|
||||
running = minion.functions['state.sls'](
|
||||
mods,
|
||||
test,
|
||||
|
|
Loading…
Add table
Reference in a new issue