diff --git a/manifests/init.pp b/manifests/init.pp index 6412c73..80d7c92 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -19,11 +19,14 @@ # # include udev # -class udev( +class udev ( + $udev_log = $udev::params::udev_log, $config_file_replace = $udev::params::config_file_replace, $rules = $udev::params::rules, -) inherits udev::params { + $udevtrigger = $udev::params::udevtrigger, + + ) inherits udev::params { validate_re($udev_log, '^err$|^info$|^debug$') validate_bool($config_file_replace) diff --git a/manifests/udevadm/trigger.pp b/manifests/udevadm/trigger.pp index 902aa51..73c231b 100644 --- a/manifests/udevadm/trigger.pp +++ b/manifests/udevadm/trigger.pp @@ -17,7 +17,7 @@ # cases. # http://unix.stackexchange.com/questions/39370/how-to-reload-udev-rules-without-reboot - exec { $udev::params::udevtrigger: + exec { $udev::udevtrigger: refreshonly => true, path => $udev::params::udevadm_path, }