Puppet Class: almalinux_hardening::system::selinux::policy
- Defined in:
- manifests/system/selinux/policy.pp
Summary
Configure SELinux PolicyOverview
Puppet Module to perform AlmaLinux 8 OS Hardening with CIS benchmark. Copyright © 2022 Jonas Hügli
26 27 28 29 30 31 32 33 34 35 |
# File 'manifests/system/selinux/policy.pp', line 26
class almalinux_hardening::system::selinux::policy {
if $almalinux_hardening::enable_selinux_policy {
file_line { 'selinux_policy':
ensure => 'present',
path => '/etc/selinux/config',
line => 'SELINUXTYPE=targeted',
match => '^(#|).*SELINUXTYPE.*=',
}
}
}
|