403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/powerpath.cpython-310.pyc
o

;j@	�@sdZdd�Zdd�ZdS)z�
Powerpath configuration support
===============================

Allows configuration of EMC Powerpath.  Currently
only addition/deletion of licenses is supported.

.. code-block:: yaml

    key:
      powerpath.license_present: []
cCs�|iddd�}td�sd|d<d|d<|Sdd	�td
�D�}||vr2d|d<d|�d
�|d<|StdrDd|d<d|�d�|d<|Std|�}|dr`|di|d<d|d<|d|d<|Sd|d<|d|d<|S)z�
    Ensures that the specified PowerPath license key is present
    on the host.

    name
        The license key to ensure is present
    F���name�changes�result�comment�powerpath.has_powerpathr�PowerPath is not installed.rcS�g|]}|d�qS��key���.0�lrr�I/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/powerpath.py�
<listcomp>�z#license_present.<locals>.<listcomp>�powerpath.list_licensesT�License key z already present�testNz is set to be addedzpowerpath.add_licenseZaddedr�output�Z__salt__Z__opts__�r�retZlicenses�datarrr�license_present�.
rcCs�|iddd�}td�sd|d<d|d<|Sdd	�td
�D�}||vr2d|d<d|�d
�|d<|StdrDd|d<d|�d�|d<|Std|�}|dr`|di|d<d|d<|d|d<|Sd|d<|d|d<|S)z�
    Ensures that the specified PowerPath license key is absent
    on the host.

    name
        The license key to ensure is absent
    FrrrrrrcSr	r
rr
rrrrErz"license_absent.<locals>.<listcomp>rTrz not presentrNz is set to be removedzpowerpath.remove_licenseZremovedrrrrrrr�license_absent6rrN)�__doc__rrrrrr�<module>s'

Youez - 2016 - github.com/yon3zu
LinuXploit