mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Suppress event for wheel/runner funcs executed from orchestration
This commit is contained in:
parent
f409f62bf2
commit
54a1704d6c
1 changed files with 3 additions and 2 deletions
|
@ -1094,7 +1094,7 @@ def runner(name, **kwargs):
|
|||
if 'saltenv' in aspec.args:
|
||||
kwargs['saltenv'] = saltenv
|
||||
|
||||
return rclient.cmd(name, kwarg=kwargs)
|
||||
return rclient.cmd(name, kwarg=kwargs, print_event=False)
|
||||
|
||||
|
||||
def wheel(name, *args, **kwargs):
|
||||
|
@ -1152,7 +1152,8 @@ def wheel(name, *args, **kwargs):
|
|||
ret = wheel_client.cmd(name,
|
||||
arg=args,
|
||||
pub_data=pub_data,
|
||||
kwarg=valid_kwargs)
|
||||
kwarg=valid_kwargs,
|
||||
print_event=False)
|
||||
except SaltInvocationError:
|
||||
raise CommandExecutionError(
|
||||
'This command can only be executed on a minion that is located on '
|
||||
|
|
Loading…
Add table
Reference in a new issue