mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #49786 from rallytime/bp-49759
Back-port #49759 to 2018.3
This commit is contained in:
commit
04e5869768
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ import logging
|
|||
import salt.loader
|
||||
import salt.utils.event
|
||||
import salt.utils.functools
|
||||
import salt.utils.jid
|
||||
from salt.exceptions import SaltInvocationError
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
@ -110,6 +111,8 @@ def orchestrate(mods,
|
|||
pillarenv = __opts__['pillarenv']
|
||||
if saltenv is None and 'saltenv' in __opts__:
|
||||
saltenv = __opts__['saltenv']
|
||||
if orchestration_jid is None:
|
||||
orchestration_jid = salt.utils.jid.gen_jid(__opts__)
|
||||
|
||||
running = minion.functions['state.sls'](
|
||||
mods,
|
||||
|
|
Loading…
Add table
Reference in a new issue