Puppet Class: yum::utils

Inherits:
::yum::params
Defined in:
manifests/utils.pp

Overview

Manage the Yum utils

Examples:

Declaring the class

include ::yum
include ::yum::utils

Parameters:

  • package_name (String) (defaults to: $::yum::params::utils_package_name)

See Also:

Since:

  • 1.0.0



12
13
14
15
16
17
18
19
20
21
# File 'manifests/utils.pp', line 12

class yum::utils (
  String $package_name = $::yum::params::utils_package_name,
) inherits ::yum::params {

  if ! defined(Class['::yum']) {
    fail('You must include the yum base class before using the yum::utils class')
  }

  contain ::yum::utils::install
}