abalone

Sets up the Abalone web shell. Only tested on CentOS 7.

Ben Ford

binford2k

14,932 downloads

4,016 latest version

3.9 quality score

Version information

  • 0.0.9 (latest)
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4 (deleted)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Jun 26th 2018
This version is compatible with:
  • Puppet Enterprise >=3.0.0
  • Puppet >=3.0.0 <5.0.0
  • RedHat
    ,
    CentOS

Start using this module

Documentation

binford2k/abalone — version 0.0.9 Jun 26th 2018

abalone

A Puppet module for managing Abalone, a simple Sinatra & hterm based web terminal.

Table of Contents

  1. Overview
  2. Usage
    1. Parameters
    2. Custom Parameters
  3. Limitations

Overview

Abalone imply exposes a login shell to a web browser. This can be the Unix standard /bin/login using a system user account, a custom command, or an SSH frontend.

See the Abalone project page for more information.

Usage

The simplest use case is to just include the class and accept all the defaults:

include abalone

Parameters

You can customize the configuration by passing in several parameters.

See documentation on the Abalone project page to see what these options do and what values they can take.

  • $port
  • $bind
  • $method
  • $bannerfile
  • $logfile
  • $ssh_host
  • $ssh_cert
  • $ssh_port
  • $ssh_user
  • $command
  • $params (see below)

Custom Parameters

Options for a custom command can be configured by either whitelisting options in an array, or providing a full list of options and values in a hash.

Simple Options

List allowed options in an Array:

class { 'abalone':
  command => '/usr/local/bin/run-container',
  params  => [ 'username', 'image' ],
}

Documentation

Customized options

With a Hash you can fully customize the options which may be passed in, including remapping them to command line arguments and filtering accepted values:

class { 'abalone':
  command => '/usr/local/bin/run-container',
  params  => {
    'username' => undef,
    'type'     => ['demo', 'testing'],
    'image'    => {
      'map'    => '--create-image',
      'values' => [ 'ubuntu', 'rhel', '/centos[5,6,7]/' ],
    },
  },
}

Documentation

Limitations

This is still early in development.

Disclaimer

I take no liability for the use of this tool.

Contact

binford2k@gmail.com