Puppet Class: patch::package

Defined in:
manifests/package.pp

Summary

manage required packages

Overview

Parameters:

  • patch (String)

    package containing the patch command

  • manage (Boolean)

    manage package resources

  • git (String)


10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/package.pp', line 10

class patch::package (
  String  $patch,
  String  $git,
  Boolean $manage,
) {
  if $manage {
    if !defined(Package[$patch]) {
      package { $patch: }
    }
  }
}