%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/salt/states/ |
Current File : //lib/python2.7/site-packages/salt/states/eselect.pyo |
� ���^c @@ sK d Z d d l m Z m Z m Z i d d 6Z d � Z d d d � Z d S( u� Management of Gentoo configuration using eselect ================================================ A state module to manage Gentoo configuration via eselect i ( t absolute_importt print_functiont unicode_literalsu setu set_c C@ s d t k r d St S( uB Only load if the eselect module is available in __salt__ u eselect.exec_actionu eselect( t __salt__t False( ( ( s7 /usr/lib/python2.7/site-packages/salt/states/eselect.pyt __virtual__ s c C@ sM i i d 6d d 6| d 6t d 6} t d | d | d | �} | | k rc d j | | � | d <n� | t d | d | �k r� d j | | � | d <t | d <n� t d r� d j | | � | d <d | d <nz t d | | d | d | �} | r)i | d 6| d 6| d | <d j | | � | d <n d j | | � | d <t | d <| S( u� Verify that the given module is set to the given target name The name of the module target The target to be set for this module module_parameter additional params passed to the defined module action_parameter additional params passed to the defined action .. code-block:: yaml profile: eselect.set: - target: hardened/linux/amd64 u changesu u commentu nameu resultu eselect.get_current_targett module_parametert action_parameteru, Target '{0}' is already set on '{1}' module.u eselect.get_target_listu/ Target '{0}' is not available for '{1}' module.u testu) Target '{0}' will be set on '{1}' module.u eselect.set_targetu oldu newu! Target '{0}' set on '{1}' module.u. Target '{0}' failed to be set on '{1}' module.N( t TrueR t formatR t __opts__t None( t namet targetR R t rett old_targett result( ( s7 /usr/lib/python2.7/site-packages/salt/states/eselect.pyt set_ s2 N( t __doc__t __future__R R R t __func_alias__R R R ( ( ( s7 /usr/lib/python2.7/site-packages/salt/states/eselect.pyt <module> s