Puppet Class: almalinux_hardening::services::disable::snmpd

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

Summary

Disable snmpd Service

Overview

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

Examples:

include almalinux_hardening::services::disable::snmpd


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

class almalinux_hardening::services::disable::snmpd {
  if $almalinux_hardening::enable_disable_snmpd {
    service { 'disable_snmp':
      ensure => 'stopped',
      name   => 'snmpd.service',
      enable => 'mask',
    }
  }
}