Puppet Class: swap_file::swappiness
- Defined in:
- manifests/swappiness.pp
Overview
Allows setting the kernel swappiness setting
12 13 14 15 16 17 18 19 |
# File 'manifests/swappiness.pp', line 12
class swap_file::swappiness (
Integer[0,100] $swappiness = 60,
) {
sysctl { 'vm.swappiness':
ensure => 'present',
value => $swappiness,
}
}
|