HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/idem.cpython-310.pyc
o

�N�g�@s&dZddiZdZdd�Zddd�ZdS)	zj
Idem Support
============

This module provides access to idem execution modules

.. versionadded:: 3002
�exec_�exec�idemcCsdtvrtSdS)N�idem.hub)Fzidem is not available)�	__utils__�__virtualname__�rr�E/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/idem.py�__virtual__sr	NcOsbtd�}|jjj||dd�|��D�|p|jjj|p|jjj|p'|jjj	p'dd�}|j
j�|�S)ai
    Call an idem execution module

    path
        The idem path of the idem execution module to run

    acct_file
        Path to the acct file used in generating idem ctx parameters.
        Defaults to the value in the ACCT_FILE environment variable.

    acct_key
        Key used to decrypt the acct file.
        Defaults to the value in the ACCT_KEY environment variable.

    acct_profile
        Name of the profile to add to idem's ctx.acct parameter.
        Defaults to the value in the ACCT_PROFILE environment variable.

    args
        Any positional arguments to pass to the idem exec function

    kwargs
        Any keyword arguments to pass to the idem exec function

    CLI Example:

    .. code-block:: bash

        salt '*' idem.exec test.ping

    :maturity:      new
    :depends:       acct, pop, pop-config, idem
    :platform:      all
    rcSs i|]\}}|�d�s||�qS)�__)�
startswith)�.0�k�vrrr�
<dictcomp>As zexec_.<locals>.<dictcomp>�default)�	acct_file�acct_key�acct_profile)
rr�ex�run�itemsZOPTZacctrrr�popZLoopZrun_until_complete)�pathrrr�args�kwargsZhub�cororrrrs
#�	)NNN)�__doc__Z__func_alias__rr	rrrrr�<module>s