Skip to content

sfu-rcg/puppet-serial_console

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Puppet module for system serial console setup

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 81.8%
  • Ruby 16.6%
  • HTML 1.6%