Puppet Class: zram::config
- Defined in:
-
manifests/config.pp
Summary
Configuration for the `zram` module
Overview
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'manifests/config.pp', line 3
class zram::config {
assert_private()
file { '/lib/udev/zram':
ensure => file,
owner => 'root',
group => 'root',
mode => '0755',
content => file('zram/zram.sh'),
}
file { '/etc/udev/rules.d/01-zram.rules':
ensure => file,
content => epp('zram/01-zram.rules.epp'),
}
kmod::option { 'zram':
option => 'num_devices',
value => $zram::numdevices,
}
}
|