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, persist=False, comment=True)¶Verify that the named kernel module is not loaded
salt.states.kmod.present(name, persist=False)¶Ensure that the specified kernel module is loaded
Current Salt release: 2014.1.7
Docs for previous releases on salt.rtfd.org.