OP#561 add custom conf dir
This commit is contained in:
@@ -20,6 +20,9 @@ class confdroid_ssh::params (
|
||||
String $ssh_fw_order = '50',
|
||||
String $ssh_source_range = '0.0.0.0/0',
|
||||
|
||||
# main configuration
|
||||
Boolean $ssh_manage_config = true,
|
||||
|
||||
) {
|
||||
# default facts
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
@@ -32,6 +35,7 @@ class confdroid_ssh::params (
|
||||
$ssh_etc_path = '/etc/ssh'
|
||||
$sshd_service = 'sshd'
|
||||
$sshd_config_path = "${ssh_etc_path}/sshd_config"
|
||||
$sshd_custom_path = "${ssh_etc_path}/sshd_config.d"
|
||||
$sshd_config_erb = 'confdroid_ssh/ssh_config.erb'
|
||||
|
||||
# includes must be last
|
||||
|
||||
Reference in New Issue
Block a user