Puppet Class: ssh
- Defined in:
- manifests/init.pp
Overview
This class serves as a data collection class for the rest of the modules here, as well as managing the permissions on the SSH configuration directory. This class should need to be included explicitly, as it is included by the classes that require it.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'manifests/init.pp', line 16
class ssh (
String $ssh_dir,
String $sshd_config,
String $ssh_config,
String $ssh_service,
String $known_hosts,
String $root_group,
Boolean $service_hasrestart,
Array $ssh_packages,
){
include ssh::install
concat { $ssh_config:
owner => 'root',
group => '0',
mode => '0644',
require => Class['ssh::install'],
}
}
|