full commit
This commit is contained in:
25
manifests/params.pp
Normal file
25
manifests/params.pp
Normal file
@@ -0,0 +1,25 @@
|
||||
## ssh_cd::params.pp
|
||||
# Module name: ssh_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class contains all class parameters for ssh_cd
|
||||
# @param [array] reqpackages packages to install
|
||||
# @param [string] pkg_ensure version to install: 'present' or 'latest'
|
||||
# @param [string] sshd_user the name of the daemon user
|
||||
# @param [string] ssh_etc_path the directory path
|
||||
# @param [string] sshd_service the name of the daemon
|
||||
##############################################################################
|
||||
class ssh_cd::params (
|
||||
|
||||
Array $reqpackages = ['openssh','openssh-clients','openssh-server'],
|
||||
String $pkg_ensure = 'latest',
|
||||
|
||||
) {
|
||||
$sshd_user = 'root'
|
||||
$ssh_etc_path = '/etc/ssh'
|
||||
$sshd_service = 'sshd'
|
||||
$sshd_config_path = "${ssh_etc_path}/sshd_config"
|
||||
$sshd_config_erb = 'ssh_cd/ssh_config.erb'
|
||||
|
||||
# includes must be last
|
||||
include ssh_cd::main::config
|
||||
}
|
||||
Reference in New Issue
Block a user