HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/thorium/__pycache__/runner.cpython-310.pyc
o

�N�g��@sdZddlZddd�ZdS)z'
React by calling asynchronous runners
�N�cKsZ|iddd�}|dur
|}i}|�t�d|d<|�|||d��tj�|�}|��|S)a�
    Execute a runner asynchronous:

    USAGE:

    .. code-block:: yaml

        run_cloud:
          runner.cmd:
            - func: cloud.create
            - arg:
                - my-ec2-config
                - myinstance

        run_cloud:
          runner.cmd:
            - func: cloud.create
            - kwargs:
                provider: my-ec2-config
                instances: myinstance
    �T)�nameZchangesZcomment�resultN�async)Zfun�arg�kwarg)�updateZ__opts__�salt�runnerZRunner�run)r�funcr�kwargs�retZ
local_optsrrr�G/opt/saltstack/salt/lib/python3.10/site-packages/salt/thorium/runner.py�cmds
r)Nr)�__doc__Zsalt.runnerr
rrrrr�<module>s