File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/monit.cpython-310.pyc
Back
o ;ju � @ s d Z dd� Zdd� Zdd� ZdS )af Monit state =========== Manage monit states .. code-block:: yaml monit_enable_service_monitoring: monit.monitor: - name: service monit_disable_service_monitoring: monit.unmonitor: - name: service .. note:: Use of these states require that the :mod:`monit <salt.modules.monit>` execution module is available. c C s dt v rdS dS )zJ Only make this state available if the monit module is available. � monit.summaryZmonit)Fz monit module could not be loaded)�__salt__� r r �E/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/monit.py�__virtual__ s r c C �� d| di d�}t d | �}zM|�� D ]E\}}d|| v r(| � d�|d<