Puppet Class: gnupg::install

Defined in:
manifests/install.pp

Summary

Install the package

Overview

Parameters:

  • ensure (String)
  • package (String)


3
4
5
6
7
8
9
10
11
12
13
# File 'manifests/install.pp', line 3

class gnupg::install (
  String $ensure,
  String $package,
) {
  if !defined(Package['gnupg']) {
    ensure_resource('package', 'gnupg', {
        ensure => $ensure,
        name   => $package,
    })
  }
}