Commit 7227647d authored by Simon Josi's avatar Simon Josi
Browse files

actually, we don't need to ensure this file exists

parent 08216904
define modprobe::kern_module(
$ensure = 'present'
){
include modprobe::modulesfile
case $operatingsystem {
debian,ubuntu: { $modulesfile = '/etc/modules' }
default: { $modulesfile = '/etc/rc.modules' }
......
class modprobe::modulesfile {
case $operatingsystem {
debian,ubuntu: {
file{'/etc/modules':
ensure => file,
owner => root, group => 0, mode => 755;
}
}
default: {
file{'/etc/rc.modules':
ensure => file,
owner => root, group => 0, mode => 755;
}
}
}
}
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