Puppet Class: cis_security_hardening::rules::xinetd
- Defined in:
- manifests/rules/xinetd.pp
Summary
Ensure xinetd is not installedOverview
The eXtended InterNET Daemon ( xinetd ) is an open source super daemon that replaced the original inetd daemon. The xinetd daemon listens for well known services and dispatches the appropriate daemon to properly respond to service requests.
Rationale: If there are no xinetd services required, it is recommended that the package be removed.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/rules/xinetd.pp', line 20
class cis_security_hardening::rules::xinetd (
Boolean $enforce = false,
) {
if $enforce {
$ensure = $facts['os']['family'].downcase() ? {
'suse' => 'absent',
default => 'purged',
}
ensure_packages(['xinetd'], {
ensure => $ensure,
})
}
}
|