Commit f6f5959b authored by Simon Josi's avatar Simon Josi
Browse files

Well, we must define $modulesfile, otherwise this won't work.

parent 24131493
......@@ -6,11 +6,15 @@ define modprobe::kern_module(
){
include modprobe::modulesfile
case $operatingsystem {
debian,ubtunu: {
debian,ubuntu: {
$modulesfile = '/etc/modules'
File['/etc/rc.module']{
path => '/etc/modules',
}
}
default: {
$modulesfile = '/etc/rc.modules'
}
}
case $ensure {
present: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment