File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/drac.cpython-310.pyc
o
�N�gr � @ s8 d Z ddlZddlZdd� Zdd� Zdd� Zd d
� ZdS )ag
Management of Dell DRAC
The DRAC module is used to create and manage DRAC cards on Dell servers
Ensure the user damian is present
.. code-block:: yaml
damian:
drac.present:
- name: damian
- password: secret
- permission: login,test_alerts,clear_logs
Ensure the user damian does not exist
.. code-block:: yaml
damian:
drac.absent:
- name: damian
Ensure DRAC network is in a consistent state
.. code-block:: yaml
my_network:
drac.network:
- ip: 10.225.108.29
- netmask: 255.255.255.224
- gateway: 10.225.108.1
� Nc C s t jj�d�r dS dS )z0
Ensure the racadm command is installed
ZracadmT)Fzracadm command not found)�salt�utils�path�which� r r �D/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/drac.py�__virtual__+ s r c C s� | di dd�}t d � }td r.| |v rd| � d�|d<