mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Multimaster related fixup: don't run test engine on minions
This commit is contained in:
parent
8a88542b7f
commit
a75db0100b
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ __virtualname__ = 'salt_runtests'
|
|||
|
||||
|
||||
def __virtual__():
|
||||
if __opts__['__role'] != 'master':
|
||||
return False
|
||||
return 'runtests_conn_check_port' in __opts__ # pylint: disable=undefined-variable
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue