CERIT-SC / puppet-serial_console

Puppet module for system serial console setup
MIT License
1 stars 8 forks source link

The facts of the module doesn't recognize usb-attached serial devices like /dev/ttyACM0 #10

Open Andor opened 4 years ago

Andor commented 4 years ago

I got facts

    "serialports": [
      "ttyS0"
    ],
    "usbserialports": [
    ],

And at the same time I have device /dev/ttyACM0:

lrwxrwxrwx 1 root root        13 Jul 17 22:46 /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000BE87DE6-if00 -> ../../ttyACM0
lrwxrwxrwx 1 root root        13 Jul 17 22:46 /dev/serial/by-path/platform-1c1c400.usb-usb-0:1:1.0 -> ../../ttyACM0
crw-rw---- 1 root dialout 166, 0 Jul 17 22:46 /dev/ttyACM0

It would be cool if your module will support facts related to these devices as well.