File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/chassis.cpython-310.pyc
o
�N�g � @ sD d Z ddlZddlZe�e�ZdgZdZdd� Z dd� Z
d d
� ZdS )aG
Glue execution module to link to the :mod:`fx2 proxymodule <salt.proxy.fx2>`.
Depends: :mod:`iDRAC Remote execution module (salt.modules.dracr) <salt.modules.dracr>`
For documentation on commands that you can direct to a Dell chassis via proxy,
look in the documentation for :mod:`salt.modules.dracr <salt.modules.dracr>`.
This execution module calls through to a function in the fx2 proxy module
called ``chconfig``. That function looks up the function passed in the ``cmd``
parameter in :mod:`salt.modules.dracr <salt.modules.dracr>` and calls it.
.. versionadded:: 2015.8.2
� NZfx2Zchassisc C s t jj�� rtS dS )z
Only work on proxy
)FzPThe chassis execution module cannot be loaded: this only works in proxy minions.)�salt�utils�platformZis_proxy�__virtualname__� r r �H/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/chassis.py�__virtual__ s r c C s&