full commit
This commit is contained in:
22
manifests/main/files.pp
Normal file
22
manifests/main/files.pp
Normal file
@@ -0,0 +1,22 @@
|
||||
## ssh_cd::main::files.pp
|
||||
# Module name: ssh_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages files
|
||||
##############################################################################
|
||||
class ssh_cd::main::files (
|
||||
) inherits ssh_cd::params {
|
||||
require ssh_cd::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),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user