This module provides Linux quota configuration support for
SysPolicy.
|
|
|
|
|
|
|
|
cs_set_attribute(self,
group,
attribute,
value,
diff)
This function returns a ChangeSet for setting user- and group quotas
based on the policy. |
source code
|
|
|
|
c_set_quota(self,
quota,
type,
object)
This function expands a dictionary of key-value pairs in the quota
variable so that a separate Change operation is given for each key (a
filesystem mount point) and value (amount of quota). |
source code
|
|
|
|
event_user_modified(self,
event,
changeset)
This function catches user modification events and updates their
quota accordingly if it's needed. |
source code
|
|
|
|
event_user_removed(self,
event,
changeset)
This function catches user removal events and removes their quota
before the user is removed from the system. |
source code
|
|
|
|
|
|
|
event_group_removed(self,
event,
changeset)
This function catches group removal events and removes their quota
before the group is removed from the system. |
source code
|
|
|
|
set_quota(self,
change)
This function implements set_quota Changes by executing setquota
according to the parameters which are given in the Change. |
source code
|
|
|
Inherited from module.Module:
append_lines_to_file,
cs_check_diff,
cs_new_attribute,
cs_set_default,
edit_configfile,
execute,
perform_change
|