Resource Type: netapp_quota
Overview
Manage NetApp quota entries. Please note that NetApp identifies a quota entry uniquely by the type, target, volume, and qtree. This type on the other hand has to uniquely identify a quota entry only by its target. This means that you cannot manage two quota entries for the same user (username = quota-target) but for different trees. As a result this type is best at managing tree quotas
Example:
Limit ‘qtree1` on `vol1` to 10G
netapp_quota { '/vol/vol1/qtree1':
ensure => present,
type => tree,
volume => 'vol1',
disklimit => '10G',
}
Limit user bob to consume 2G on qtree1. Note that you cannot
define multiple quotas for user bob:
netapp_quota { 'bob':
ensure => present,
type => user,
qtree => 'qtree1',
volume => 'vol1',
disklimit => '2048M',
}
Make sure the following restrictions apply in your
environment before using this type:
- every quota target has to be unique
- quota entries must not contain any special characters that would
require quotation