%PDF- %PDF-
| Direktori : /proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/modules/eix.pyo |
�
���^c @@ sM d Z d d l m Z m Z m Z d d l Z d � Z d � Z d � Z d S( u
Support for Eix
i ( t absolute_importt print_functiont unicode_literalsNc C@ s3 t d d k r) t j j j d � r) d St d f S( u9
Only works on Gentoo systems with eix installed
u osu Gentoou eixup The eix execution module cannot be loaded: either the system is not Gentoo or the eix binary is not in the path.( t
__grains__t saltt utilst patht whicht False( ( ( s4 /usr/lib/python2.7/site-packages/salt/modules/eix.pyt __virtual__ s %c C@ s� d } d t k rb t d d � rb t j j j d � rD | d 7} n
| d 7} t d | � d k St d | � d k r| t St j j j d � r� | d 7} n
| d 7} t d | � d k Sd S(
u�
Sync portage/overlay trees and update the eix database
CLI Example:
.. code-block:: bash
salt '*' eix.sync
u eix-sync -q -C "--ask" -C "n"u makeconf.features_containsu webrsync-gpgu emerge-delta-webrsyncu -Wu -wu cmd.retcodei N( t __salt__R R R R t True( t cmd( ( s4 /usr/lib/python2.7/site-packages/salt/modules/eix.pyt sync s
c C@ s d } t d | � d k S( uj
Update the eix database
CLI Example:
.. code-block:: bash
salt '*' eix.update
u eix-update --quietu cmd.retcodei ( R
( R ( ( s4 /usr/lib/python2.7/site-packages/salt/modules/eix.pyt update1 s
(
t __doc__t
__future__R R R t salt.utils.pathR R R
R ( ( ( s4 /usr/lib/python2.7/site-packages/salt/modules/eix.pyt <module> s