salt.states.kmod

Loading and unloading of kernel modules.

The Kernel modules on a system can be managed cleanly with the kmod state module:

kvm_amd:
  kmod.present
pcspkr:
  kmod.absent
salt.states.kmod.absent(name)

Verify that the named kernel module is not loaded

name
The name of the kernel module to verify is not loaded
salt.states.kmod.present(name)

Ensure that the specified kernel module is loaded

name
The name of the kernel module to verify is loaded

Parent topic

Table Of Contents

Previous topic

salt.states.keyboard

Next topic

salt.states.layman