%PDF- %PDF-
| Direktori : /proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/salt/modules/seed.pyc |
�
���^c @@ s8 d Z d d l m Z m Z m Z d d l Z d d l Z d d l Z d d l Z d d l Z
d d l Z
d d l Z
d d l
Z
d d l Z
d d l Z e j e � Z i d d 6Z d � Z d � Z d d � Z d � Z d d e e e d d d d
� Z d d d e d d d � Z d � Z d
� Z d � Z d S( u(
Virtual machine image management tools
i ( t absolute_importt unicode_literalst print_functionNu applyu apply_c C@ sP t j j | � rL t j j j | � � } t j j j | j � � SWd QXn | S( N(
t ost patht existst saltt utilst filest fopent stringutilst
to_unicodet read( t file_t fic( ( s5 /usr/lib/python2.7/site-packages/salt/modules/seed.pyt _file_or_content s "c C@ s� t d � } t j j | d d j t j � � � } t j j | � sV t j | � n t j | d � t j j | t j j
| � � } t j | | � | j
| d � } | | f S( u�
Update and get the random script to a random place
CLI Example:
.. code-block:: bash
salt '*' seed.prep_bootstrap /tmp
u config.gather_bootstrap_scriptu tmpu {0}i� u ( t __salt__R R t joint formatt uuidt uuid4R t makedirst chmodt basenamet shutilt copyt replace( t mptt bs_t fpd_t fp_t tmppath( ( s5 /usr/lib/python2.7/site-packages/salt/modules/seed.pyt prep_bootstrap'