PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /proc/self/root/opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //proc/self/root/opt/saltstack/salt/lib/python3.10/site-packages/salt/runners/thin.py |
""" 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. """ import salt.utils.thin def generate( extra_mods="", overwrite=False, so_mods="", absonly=True, compress="gzip", ): """ 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 """ conf_mods = __opts__.get("thin_extra_mods") if conf_mods: extra_mods = ",".join([conf_mods, extra_mods]) return salt.utils.thin.gen_thin( __opts__["cachedir"], extra_mods, overwrite, so_mods, absonly, compress, ) def generate_min( extra_mods="", overwrite=False, so_mods="", ): """ 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 """ conf_mods = __opts__.get("min_extra_mods") if conf_mods: extra_mods = ",".join([conf_mods, extra_mods]) return salt.utils.thin.gen_min( __opts__["cachedir"], extra_mods, overwrite, so_mods, )