File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/__pycache__/reactor.cpython-310.pyc
o
�N�gF � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddl m
Z
e�e�Z
ddiZdd� Zdd d�Zdd
d�Zddd
�Zdd� Zddd�ZdS )a_
A convenience system to manage reactors
Beginning in the 2017.7 release, the reactor runner requires that the reactor
system is running. This is accomplished one of two ways, either
by having reactors configured or by including ``reactor`` in the
engine configuration for the Salt master.
.. code-block:: yaml
engines:
- reactor
� N)�CommandExecutionError�list_�listc C sF t �di �rtdd� t d D ��rdS dS t �di �r!t d r!dS dS )z:
Helper to see if the reactor system is available
Zenginesc S s g | ]}d |v rd�qS )�reactorT� )�.0Zenginer r �H/opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/reactor.py�
<listcomp>&