Module for managing quotas on POSIX-like systems.
salt.modules.quota.
get_mode
(device)¶Report whether the quota system for this device is on or off
CLI Example:
salt '*' quota.get_mode
salt.modules.quota.
off
(device)¶Turns off the quota system
CLI Example:
salt '*' quota.off
salt.modules.quota.
on
(device)¶Turns on the quota system
CLI Example:
salt '*' quota.on
salt.modules.quota.
report
(mount)¶Report on quotas for a specific volume
CLI Example:
salt '*' quota.report /media/data
salt.modules.quota.
set_
(device, **kwargs)¶Calls out to setquota, for a specific user or group
CLI Example:
salt '*' quota.set /media/data user=larry block-soft-limit=1048576
salt '*' quota.set /media/data group=painters file-hard-limit=1000
salt.modules.quota.
stats
()¶Runs the quotastats command, and returns the parsed output
CLI Example:
salt '*' quota.stats
salt.modules.quota.
warn
()¶Runs the warnquota command, to send warning emails to users who are over their quota limit.
CLI Example:
salt '*' quota.warn
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy