Puppet Class: isp3node::quota::config
- Defined in:
- manifests/quota/config.pp
Summary
Configures quotaOverview
Adds required quota options to fstab and initially enables user quota on the system
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'manifests/quota/config.pp', line 11
class isp3node::quota::config(
String $mountpoint,
Array[String] $mountopts,
) {
mounttab{$mountpoint:
options => $mountopts,
provider => augeas,
}
~> exec{'quota-remount':
command => "mount -o remount ${mountpoint}",
path => $facts['path'],
refreshonly => true
}
~> exec{'quota-check':
command => 'quotacheck -avugm',
path => $facts['path'],
refreshonly => true
}
~> exec{'quota-on':
command => 'quotaon -avug',
path => $facts['path'],
refreshonly => true
}
}
|