salt.states.kmod

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin state modules »

# 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

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin state modules »