File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/ipmi.cpython-310.pyc
Back
o ;j�! � @ sB d Z dd� Zddd�Zddd �Z ddd�Zddd�ZdS )a. Manage IPMI devices over LAN ============================ The following configuration defaults can be defined in the minion, master config or pillar: .. code-block:: yaml ipmi.config: api_host: 127.0.0.1 api_user: admin api_pass: apassword api_port: 623 api_kg: None Every call can override the config defaults: .. code-block:: yaml ensure myipmi system is set to network boot: ipmi.boot_device: - name: network - api_host: myipmi.hostname.com - api_user: root - api_pass: apassword - api_kg: None ensure myipmi system is powered on: ipmi.power: - name: boot - api_host: myipmi.hostname.com - api_user: root - api_pass: apassword c C sN d } zddl m} W n ty } z t|�} W Y d }~nd }~ww | d u | fS )N� )�command)Zpyghmi.ipmir �ImportError�str)Z IMPORT_ERRr �exc� r �D/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/ipmi.py�__virtual__&