Puppet Class: ibm_profile::iib_machine::packages

Inherits:
ibm_profile
Defined in:
manifests/iib_machine/packages.pp

Summary

This class is the default implementation for making sure the required packages are on your system.

Overview

--

ibm_profile::iib_machine::packages

Using hiera, you can customize some of the aspects of this process.

When these customizations aren’t enough, you can replace the class with your own class. See [ibm_profile::iib_machine](./iib_machine.html) for an explanation on how to do this.

–++–

Parameters:

  • list (Array[String[1]])

    The list of packages you want to install. The default value is: ‘{}`



15
16
17
18
19
20
21
22
23
# File 'manifests/iib_machine/packages.pp', line 15

class ibm_profile::iib_machine::packages(
  Array[String[1]] $list,
) inherits ibm_profile {
  echo {'IIB Packages':
    withpath => false,
  }

  ensure_packages($list, { 'ensure' => 'present'})
}