serial_console

pdk
System serial console setup

CERIT Scientific Cloud

ceritsc

15,972 downloads

707 latest version

4.5 quality score

Version information

  • 0.9.13 (latest)
  • 0.9.12
  • 0.9.11
  • 0.9.10
  • 0.9.9
  • 0.9.8
  • 0.9.7
  • 0.9.6
  • 0.9.5
  • 0.9.3
  • 0.9.2
  • 0.9.1
  • 0.9.0
released Mar 8th 2021
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet >= 3.3.0 < 7.0.0
  • RedHat
    ,
    CentOS
    ,
    Scientific
    ,
    OracleLinux
    ,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

ceritsc/serial_console — version 0.9.13 Mar 8th 2021

Puppet module for system serial console setup

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

Requirements

Module has been tested on:

  • Puppet 3.6
  • OS:
  • Debian 6,7,8,9
  • RHEL/CentOS 6,7

Required modules:

  • puppetlabs-stdlib
  • herculesteam-augeasproviders_grub

Quick Start

Setup

include serial_console

Full configuration options:

class { 'serial_console':
  enable                 => false|true,  # enable configuration
  enable_kernel          => false|true,  # enable kernel config.
  enable_bootloader      => false|true,  # enable bootloader config.
  enable_login           => false|true,  # enable login over serial config.
  tty                    => '...',       # text console name
  ttys                   => '...',       # serial device name without path, e.g. ttyS0
  speed                  => ...,         # serial port speed, e.g. 115200
  term_type              => ...,         # serial terminal type, e.g. vt100
  runlevels              => '...',       # run levels for login over serial
  bootloader_timeout     => '...'        # bootloader timeout
  logout_timeout         => '...',       # interactive session timeout
  cmd_refresh_init       => '...',       # command to refresh init
  cmd_refresh_bootloader => '...',       # command to refresh bootloader
}

Facts

$::serialports, $::usbserialports

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

["ttyS0","ttyS1"]

$::grub1conf

Returns absolute path to GRUB 1 configuration file.

Contributors


CERIT Scientific Cloud, support@cerit-sc.cz