I am automating some configurations on my systems using Puppet (however, that is not really relevant here). For a group of machines I want to load a kernel module at boot time. The most elegant way seems to edit
/etc/modules and add one on an individual line. However, I would like to use separate files in a "
.d" directory structure for easier maintainability, rather than having Puppet editing a file.
For modprobe and specifying the options for or blacklisting modules, there's
/etc/modprobe.d/, but what's the most elegant way for actually loading modules at boot time using a single new file? Basically, I'm looking for the non-existing