The Kernel modules on a system can be managed cleanly with the kmod state module:
kvm_amd:
kmod.present
pcspkr:
kmod.absent
Verify that the named kernel module is not loaded
Ensure that the specified kernel module is loaded
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.2
22.27.48. salt.states.keystone
Upcoming SaltStack events, webinars and local meet ups and user groups.