Puppet Class: almalinux_hardening::services::disable::web

Defined in:
manifests/services/disable/web.pp

Summary

Disable httpd Service

Overview

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

Examples:

include almalinux_hardening::services::disable::web


17
18
19
20
21
22
23
24
# File 'manifests/services/disable/web.pp', line 17

class almalinux_hardening::services::disable::web {
  if $almalinux_hardening::enable_disable_web {
    service { 'httpd':
      ensure => 'stopped',
      enable => 'mask',
    }
  }
}