Files
confdroid_ssh/manifests/main/files.pp

23 lines
625 B
Puppet

## confdroid_ssh::main::files.pp
# Module name: confdroid_ssh
# Author: 12ww1160 (12ww1160@confdroid.com)
# @summary Class manages files
##############################################################################
class confdroid_ssh::main::files (
) inherits confdroid_ssh::params {
require confdroid_ssh::main::dirs
file { $sshd_config_path:
ensure => file,
path => $sshd_config_path,
owner => 'root',
group => 'root',
mode => '0640',
selrange => s0,
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template($sshd_config_erb),
}
}