full commit

This commit is contained in:
Arne Teuke
2025-04-22 15:58:46 +02:00
parent 35a641a70b
commit 3a0fd39423
12 changed files with 601 additions and 76 deletions

21
manifests/main/dirs.pp Normal file
View File

@@ -0,0 +1,21 @@
## ssh_cd::main::dirs.pp
# Module name: ssh_cd
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary Class manages directories
##############################################################################
class ssh_cd::main::dirs (
) inherits ssh_cd::params {
require ssh_cd::main::install
file { $ssh_etc_path:
ensure => directory,
path => $ssh_etc_path,
owner => $sshd_user,
group => $sshd_user,
mode => '0755',
selrange => s0,
selrole => object_r,
seltype => etc_t,
seluser => system_u,
}
}