Puppet Class: almalinux_hardening::services::disable::ftp

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

Summary

Disable vsftpd Service

Overview

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

Examples:

include almalinux_hardening::services::disable::ftp


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

class almalinux_hardening::services::disable::ftp {
  if $almalinux_hardening::enable_disable_ftp {
    service { 'disable_ftp':
      ensure => 'stopped',
      name   => 'vsftpd.service',
      enable => 'mask',
    }
  }
}