Puppet Class: selinux::package

Defined in:
manifests/package.pp

Summary

Manages additional packages required to support some of the functions.

Overview

Parameters:

  • manage_package (Boolean)

    See main class

  • package_names (Array[String[1]])

    See main class

  • manage_auditd_package (Boolean)

    See main class

  • auditd_package_name (String[1])

    See main class

  • manage_setroubleshoot_packages (Boolean)
  • setroubleshoot_package_names (Array[String])


10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'manifests/package.pp', line 10

class selinux::package (
  Boolean $manage_package,
  Array[String[1]] $package_names,
  Boolean $manage_auditd_package,
  String[1] $auditd_package_name,
  Boolean $manage_setroubleshoot_packages,
  Array[String] $setroubleshoot_package_names,
) {
  assert_private()
  if $manage_package {
    ensure_packages ($package_names)
  }
  if $manage_auditd_package {
    ensure_packages ($auditd_package_name)
  }
  if $manage_setroubleshoot_packages {
    ensure_packages ($setroubleshoot_package_names)
  }
}