| 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/runners/__pycache__/ |
Upload File : |
o
;j� � @ s4 d Z ddlZ ddd�Z dd d
�ZdS )
z�
The thin runner is used to manage the salt thin systems.
Salt Thin is a transport-less version of Salt that can be used to run routines
in a standalone way. This runner has tools which generate the standalone salt
system for easy consumption.
� N� FT�gzipc C s8 t �d�}|rd�|| g�} tjj�t d | ||||�S )a�
Generate the salt-thin tarball and print the location of the tarball
Optional additional mods to include (e.g. mako) can be supplied as a comma
delimited string. Permits forcing an overwrite of the output file as well.
CLI Example:
.. code-block:: bash
salt-run thin.generate
salt-run thin.generate mako
salt-run thin.generate mako,wempy 1
salt-run thin.generate overwrite=1
Zthin_extra_mods�,�cachedir)�__opts__�get�join�salt�utils�thinZgen_thin)�
extra_mods� overwrite�so_modsZabsonly�compress� conf_mods� r �E/opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/thin.py�generate s
�r c C s4 t �d�}|rd�|| g�} tjj�t d | ||�S )a=
Generate the salt-thin tarball and print the location of the tarball
Optional additional mods to include (e.g. mako) can be supplied as a comma
delimited string. Permits forcing an overwrite of the output file as well.
CLI Example:
.. code-block:: bash
salt-run thin.generate_min
Zmin_extra_modsr r )r r r r r
r Zgen_min)r r
r r r r r �generate_min/ s
�r )r Fr Tr )r Fr )�__doc__Zsalt.utils.thinr r r r r r r �<module> s
�$�