File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/__pycache__/thin.cpython-310.pyc
Back
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 �$�
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings