salt.modules.freebsdkmod

Module to manage FreeBSD kernel modules

salt.modules.freebsdkmod.available()

Return a list of all available kernel modules

CLI Example:

salt '*' kmod.available
salt.modules.freebsdkmod.check_available(mod)

Check to see if the specified kernel module is available

CLI Example:

salt '*' kmod.check_available kvm
salt.modules.freebsdkmod.load(mod)

Load the specified kernel module

CLI Example:

salt '*' kmod.load kvm
salt.modules.freebsdkmod.lsmod()

Return a dict containing information about currently loaded modules

CLI Example:

salt '*' kmod.lsmod
salt.modules.freebsdkmod.remove(mod)

Remove the specified kernel module

CLI Example:

salt '*' kmod.remove kvm

Previous topic

salt.modules.freebsdjail

Next topic

salt.modules.freebsdpkg