Puppet Class: udev

Defined in:
modules/udev/manifests/init.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
# File 'modules/udev/manifests/init.pp', line 1

class udev {
    if debian::codename::le('buster') {
        $udevadm = '/sbin/udevadm'
    } else {
        $udevadm = '/usr/bin/udevadm'
    }

    exec { 'udev_reload':
        command     => "${udevadm} control --reload && ${udevadm} trigger",
        refreshonly => true,
    }
}