%PDF- %PDF-
| Direktori : /proc/self/root/usr/lib/python2.7/site-packages/salt/runners/ |
| Current File : //proc/self/root/usr/lib/python2.7/site-packages/salt/runners/thin.pyo |
�
���^c @@ sh d Z d d l m Z m Z m Z d d l Z d e d d d e d d � Z d e d d d d � Z
d S(
u�
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.
i ( t absolute_importt print_functiont unicode_literalsNu u python2u python3u gzipc C@ sY t j d � } | r- d j | | g � } n t j j j t d | | | | | | | � S( u�
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
u thin_extra_modsu ,u cachedir( t __opts__t gett joint saltt utilst thint gen_thin( t
extra_modst overwritet so_modst python2_bint python3_bint absonlyt compresst conf_mods( ( s5 /usr/lib/python2.7/site-packages/salt/runners/thin.pyt generate s c C@ sS t j d � } | r- d j | | g � } n t j j j t d | | | | | � S( u=
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
u min_extra_modsu ,u cachedir( R R R R R R t gen_min( R
R R R
R R ( ( s5 /usr/lib/python2.7/site-packages/salt/runners/thin.pyt generate_min0 s
( t __doc__t
__future__R R R t salt.utils.thinR t Falset TrueR R ( ( ( s5 /usr/lib/python2.7/site-packages/salt/runners/thin.pyt <module> s