ReleaseEngineering/PuppetAgain/Modules/kernelmodule

From MozillaWiki
Jump to: navigation, search

This module enables (modprobes) Linux kernel modules. Optionally a list of packages required to load a module can be passed.

This module uses modprobe(8) to load modules and doesn't require reboot to apply changes.

Example usage:

kernelmodule {
  "snd_aloop":
    packages => ["libasound2"];
  "v4l2loopback":
    packages => ["v4l2loopback-dkms"];
}