Defined Type: kmod::alias
- Defined in:
- manifests/alias.pp
Summary
Manage kernel module aliasesOverview
[View source]
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'manifests/alias.pp', line 12
define kmod::alias (
String[1] $source,
Enum['present', 'absent'] $ensure = 'present',
Stdlib::Unixpath $file = "/etc/modprobe.d/${name}.conf",
String[1] $aliasname = $name,
) {
include kmod
kmod::setting { "kmod::alias ${title}":
ensure => $ensure,
module => $aliasname,
file => $file,
category => 'alias',
option => 'modulename',
value => $source,
}
}
|