mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #42021 from gtmanfred/2016.11
Set concurrent to True when running states with sudo
This commit is contained in:
commit
7160697123
@ -73,7 +73,7 @@ class SudoExecutor(ModuleExecutorBase):
|
||||
'-c', salt.syspaths.CONFIG_DIR,
|
||||
'--',
|
||||
data.get('fun')]
|
||||
if data['fun'] == 'state.sls':
|
||||
if data['fun'] in ('state.sls', 'state.highstate', 'state.apply'):
|
||||
kwargs['concurrent'] = True
|
||||
for arg in args:
|
||||
self.cmd.append(_cmd_quote(str(arg)))
|
||||
|
Loading…
Reference in New Issue
Block a user