%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python2.7/site-packages/salt/states/
Upload File :
Create Path :
Current File : //lib/python2.7/site-packages/salt/states/tuned.pyc

�
���^c@@sGdZddlmZmZmZddlZd�Zdd�Z	dS(u�
Interface to Red Hat tuned-adm module

:maintainer:    Syed Ali <alicsyed@gmail.com>
:maturity:      new
:depends:       cmd.run
:platform:      Linux
i(tabsolute_importtunicode_literalstprint_functionNcC@s,idd6id6td6dd6}|||<|}td�}td�}||krmtjjd��n||kr�t|d<d	|d<|Std
tkr�dj|�|d<i|d6d
j|�d6|d<d|d<|Std|�}dj|�|d<i|d6|d6|d<t|d<|S(uz
    This state module allows you to modify system tuned parameters

    Example tuned.sls file to set profile to virtual-guest

    tuned:
      tuned:
        - profile
        - name: virtual-guest

    name
        tuned profile name to set the system to

    To see a valid list of states call execution module:
        :py:func:`tuned.list <salt.modules.tuned.list_>`
    uunameuchangesuresultucommentutuned.activeu
tuned.listuInvalid Profile Nameu#System already in the correct stateutestu#The state of "{0}" will be changed.uolduProfile will be set to {0}unewu
tuned.profileuThe state of "{0}" was changed!N(	tFalset__salt__tsaltt
exceptionstSaltInvocationErrortTruet__opts__tformattNone(tnametrettprofilet
current_statetvalid_profilest	new_state((s5/usr/lib/python2.7/site-packages/salt/states/tuned.pyRs4"







cC@s�idd6id6td6dd6}td�}|dkrSt|d<d|d<|Stdtkr�d	j|�|d<i|d
6dd6|d<d|d<|Std
�r�t|d<i|d
6dd6|d<|SdS(u�

    Turns 'tuned' off.
    Example tuned.sls file for turning tuned off:

    tuned:
      tuned.off: []


    To see a valid list of states call execution module:
        :py:func:`tuned.list <salt.modules.tuned.list_>`
    uoffunameuchangesuresultucommentutuned.activeu#System already in the correct stateutestu#The state of "{0}" will be changed.uolduProfile will be set to offunewu	tuned.offN(RRRR	R
R(RR
R((s5/usr/lib/python2.7/site-packages/salt/states/tuned.pytoffYs("






(
t__doc__t
__future__RRRtsalt.exceptionsRRRR(((s5/usr/lib/python2.7/site-packages/salt/states/tuned.pyt<module>	s	G

Zerion Mini Shell 1.0