saltstack/salt — pull request #3380 by viktorkrivak (2013-01-22 14:11:26+00:00)
Title: Add param persist to modules.kmod

Add param for managing linux kernel mods via modules.kmod.load.
If param persist is set simply add line to /etc/modules. If that line is already there but only commented, just uncomment it.

Also add this param to remove() to opposite action.
And only_persist to mod_list() to list only persistent modules