CERIT-SC / puppet-serial_console

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

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:

Required modules:

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