Puppet Class: ssh::install

Defined in:
manifests/install.pp

Overview

This class handles the installation and removal of the SSH packages if any are present.

Parameters:

  • ensure (Enum['present', 'absent', 'latest']) (defaults to: 'present')


4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/install.pp', line 4

class ssh::install (
  Enum['present', 'absent', 'latest'] $ensure = 'present',
) {

  include ssh

  if length($ssh::ssh_packages) > 0 {
    package { $ssh::ssh_packages:
      ensure => $ensure,
    }
  }
}