Puppet Class: zram
- Defined in:
- manifests/init.pp
Summary
Configures and loads zram kernel moduleOverview
zram
This module configures zram using udev rules (no init scripts or systemd units needed).
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/init.pp', line 16
class zram (
Integer $numdevices = $facts['processorcount'],
Integer $disksize = (floor(($facts['memorysize_mb']/2)*1048576/$numdevices)),
) {
contain zram::install
contain zram::config
contain zram::load
Class['zram::install']
-> Class['zram::config']
-> Class['zram::load']
}
|