#
# Check also https://wiki.archlinux.org/title/Kernel_module#Automatic_module_loading
# https://unix.stackexchange.com/questions/189670/whats-the-difference-of-etc-modules-load-d-and-etc-modules
+#
+# In the future, this definition can also manage /etc/modprobe.d/ entries.
+#
define nodo::subsystem::modprobe::module(
$ensure = 'present',
){
# https://wiki.archlinux.org/title/Lm_sensors#S.M.A.R.T._drive_temperature
# https://github.com/philipl/drivetemp
- $drivetemp = lookup('nodo::sensors::drivetemp', undef, undef, 'present')
+ $drivetemp = lookup('nodo::sensors::drivetemp', undef, undef, true)
nodo::subsystem::modprobe::module { 'drivetemp':
ensure => $drivetemp,