Puppet Class: autossh

Inherits:
autossh::params
Defined in:
manifests/init.pp

Overview

Class: autossh

The autossh service configures persistent ‘ssh port forwards’ or ‘ssh tunnels’ between two nodes. This class caters for both sides of the link from the ‘origin’ node which starts the ssh tunnel to the ‘endpoint’ node which terminates that tunnel. There is a base assumption that both nodes connect to the same puppetdb.

Parameters

$user = The user account to be used to run the ssh sessions. $autossh_version = The autossh package version $autossh_build = The autossh package build number $autossh_package = The autossh package name $init_template = Template to use for the init script $enable = Enable/Disable package support

Variables

Examples

class { autossh:
}

Authors

Jason Ball <jason@ball.net>

Copyright 2014 Jason Ball.

Parameters:

  • user (Any) (defaults to: $autossh::params::user)
  • autossh_version (Any) (defaults to: $autossh::params::autossh_version)
  • autossh_build (Any) (defaults to: $autossh::params::autossh_build)
  • autossh_package (Any) (defaults to: $autossh::params::autossh_package)
  • init_template (Any) (defaults to: $autossh::params::init_template)
  • enable (Any) (defaults to: $authssh::params::enable)


33
34
35
36
37
38
39
40
41
42
# File 'manifests/init.pp', line 33

class autossh(
  $user            = $autossh::params::user,
  $autossh_version = $autossh::params::autossh_version,
  $autossh_build   = $autossh::params::autossh_build,
  $autossh_package = $autossh::params::autossh_package,
  $init_template   = $autossh::params::init_template,
  $enable          = $authssh::params::enable,
) inherits autossh::params {
  include ::autossh::install
}