Puppet Class: psick::kmod
- Defined in:
- manifests/kmod.pp
Summary
This psick profile manages kernel modulesOverview
psick::kmod
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'manifests/kmod.pp', line 28
class psick::kmod (
Boolean $manage = $psick::manage,
# Hash $modules = {},
Enum['first','hash','deep'] $modules_merge_behaviour = 'first',
Boolean $noop_manage = $psick::noop_manage,
Boolean $noop_value = $psick::noop_value,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
$modules = lookup('psick::kmod::modules',Hash,$modules_merge_behaviour, {})
$modules.each | $k,$v | {
psick::kmod::module { $k:
* => $v,
}
}
}
}
|