%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/salt/states/ |
Current File : //lib/python2.7/site-packages/salt/states/quota.pyo |
� ���^c @@ s8 d Z d d l m Z m Z m Z d � Z d � Z d S( u� Management of POSIX Quotas ========================== The quota can be managed for the system: .. code-block:: yaml /: quota.mode: mode: off quotatype: user i ( t absolute_importt print_functiont unicode_literalsc C@ s d t k r d St S( u@ Only load if the quota module is available in __salt__ u quota.reportu quota( t __salt__t False( ( ( s5 /usr/lib/python2.7/site-packages/salt/states/quota.pyt __virtual__ s c C@ s i | d 6i d 6d d 6d d 6} d } | t k r= d } n t d | � | | | k r t | d <d j | | � | d <| St d r� d j | | � | d <| St d j | � | � r� i | d 6| d <t | d <d j | | � | d <| St | d <d j | | � | d <| Sd S( 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`` u nameu changesu resultu u commentu offu onu quota.get_modeu Quota for {0} already set to {1}u testu$ Quota for {0} needs to be set to {1}u quota.{0}u quotau Set quota for {0} to {1}u"