Forge Home

openssh

Module to install Openssh client/server on Archlinux

11,120 downloads

10,340 latest version

3.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.4 (latest)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Jul 21st 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'aboe-openssh', '0.0.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add aboe-openssh
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install aboe-openssh --version 0.0.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

aboe/openssh — version 0.0.4 Jul 21st 2013

#puppet-openssh

Build Status

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with openssh
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Credits - Credits where credits are due.

openSSH Puppet Module Arch Linux

Manage SSH client and server via Puppet on Arch Linux. Both client and server are installed Host keys will be collected and distributed

##Module Description

The openssh module handles running openssh server/client in Arch Linux systems with systemd.

##Setup

###What openssh affects

  • openssh package.
  • openssh configuration files.
  • openssh hostkeys.
  • openssh knownhosts.
  • openssh service.

###Beginning with openssh

include '::openssh' is all you need to get it running. Or put this in your manifest:

class { '::openssh':}

Requirements

Requires Exported resources and augeas in order to work

##Usage

All interaction with the openssh module can be done through the main openssh class.

###I just want openssh, what's the minimum I need?

include '::openssh'

##Reference

###Classes

  • openssh: Main class, includes all the rest.
  • openssh::install: Handles the packages.
  • openssh::config: Handles the configuration file.
  • openssh::hostkeys: Handles the hostkeys.
  • openssh::knownhosts: Handles the knownhosts.
  • openssh::service: Handles the service.

###Parameters

The following parameters are available in the chrony module

####sshd_config

This sets the file to write opensshd server configuration into.

####ssh_config

This sets the file to write openssh client configuration into.

####ssh_known_hosts

This sets the file to write known-hosts into.

####package_name

This determines the name of the package to install.

####service_name

This selects the name of the openssh service for puppet to manage.

##Limitations

This module has been built on and tested against Puppet 3.2.3 and higher.

The module has been tested on:

  • Arch Linux

credits

This module is based on saz-ssh module, only difference is that Arch Linux installs only one package openssh for client and server.

at the moment this isn't easy to mix Arch Linux installs with other distributions.