Puppet Class: ssh
- Inherits:
- ::ssh::params
- Defined in:
- manifests/init.pp
Overview
Class: ssh
Installs and configures a hardened SSH server
Parameters
-
sample parameter
Explanation of what this parameter affects and what it defaults to. e.g. “Specify one or more upstream ntp servers as an array.”
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'manifests/init.pp', line 13
class ssh (
$package_name = $::ssh::params::package_name,
$service_name = $::ssh::params::service_name,
) inherits ::ssh::params {
# validate parameters here
class { '::ssh::install': } ->
class { '::ssh::config': } ~>
class { '::ssh::service': } ->
Class['::ssh']
}
|