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)

    See main class

  • setroubleshoot_package_names (Array[String])

    See main class

  • manage_selinux_sandbox_packages (Boolean)

    See main class

  • selinux_sandbox_package_names (Array[String])

    See main class



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'manifests/package.pp', line 14

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,
  Boolean $manage_selinux_sandbox_packages,
  Array[String] $selinux_sandbox_package_names,
) {
  assert_private()
  if $manage_package {
    stdlib::ensure_packages ($package_names)
  }
  if $manage_auditd_package {
    stdlib::ensure_packages ($auditd_package_name)
  }
  if $manage_setroubleshoot_packages {
    stdlib::ensure_packages ($setroubleshoot_package_names)
  }
  if $manage_selinux_sandbox_packages {
    stdlib::ensure_packages ($selinux_sandbox_package_names)
  }
}