Puppet Class: almalinux_hardening::system::selinux::setroubleshoot

Defined in:
manifests/system/selinux/setroubleshoot.pp

Summary

Uninstall setroubleshoot Package

Overview

Puppet Module to perform AlmaLinux 8 OS Hardening with CIS benchmark. Copyright © 2022 Jonas Hügli

Examples:

include almalinux_hardening::system::selinux::setroubleshoot


20
21
22
23
24
25
26
27
# File 'manifests/system/selinux/setroubleshoot.pp', line 20

class almalinux_hardening::system::selinux::setroubleshoot {
  if $almalinux_hardening::enable_selinux_setroubleshoot {
    package { 'setroubleshoot':
      ensure          => absent,
      install_options => ['--disablerepo',$almalinux_hardening::disable_repos,'--enablerepo',$almalinux_hardening::enable_repos],
    }
  }
}