mindhive-serial_console

Puppet module for system serial console setup


Keywords
sol, serial-console
License
MIT
Install
puppet module install mindhive-serial_console --version 1.0.0

Documentation

Puppet module for system serial console setup

Forked from CERIT-SC project as that seems to be abandoned.

This module configures system for serial console access (boot loader, kernel and login)

Requirements

Module has been tested on:

  • Puppet 5.5
  • OSes:
    • Ubuntu 18.04
    • Debian 6 - 9
    • RHEL/CentOS 6 - 7

Required modules:

  • puppetlabs-stdlib
  • herculesteam-augeasproviders_grub

Quick Start

Setup

include serial_console

Full configuration options:

class { serial_console:
  ensure                 => present,     # enable configuration
  enable_kernel          => true,        # enable kernel config.
  enable_bootloader      => true,        # enable bootloader config.
  tty                    => 'tty0',      # text console name
  ttys                   => '...',       # serial device name without path, e.g. ttyS0
  speed                  => 115200,      # serial port speed, e.g. 115200
  logout_timeout         => undef,       # interactive session timeout
}

Facts

serialports, usbserialports

Returns list of available (USB) serial port device names (without /dev prefix). E.g.:

["ttyS0","ttyS1"]

Contributors