Puppet Class: zram_generator
- Defined in:
-
manifests/init.pp
Summary
Install and configure zram_generator zram mounts
Overview
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# File 'manifests/init.pp', line 7
class zram_generator (
Enum['installed', 'absent'] $install_defaults = 'absent',
Boolean $manage_defaults_package = $facts['os']['name'] != 'Archlinux',
Stdlib::CreateResources $zrams = {},
) {
contain zram_generator::install
contain zram_generator::config
contain zram_generator::service
Class['zram_generator::install']
-> Class['zram_generator::config']
-> Class['zram_generator::service']
$zrams.each |$name, $resource| {
zram_generator::zram { $name:
* => $resource,
}
}
}
|