Puppet Class: znapzend::prereqs

Defined in:
manifests/prereqs.pp

Overview

This class is called from the main znapzend class for installing prerequisites.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'manifests/prereqs.pp', line 5

class znapzend::prereqs {
  assert_private('znapzend::prereqs is a private class')

  if $znapzend::manage_prereqs {
    if $znapzend::manage_gcc {
      package { $znapzend::gcc_packages:
        ensure => present,
      }
    }
    if $znapzend::manage_mbuffer {
      package { $znapzend::mbuffer_packages:
        ensure => present,
      }
    }
    if $znapzend::manage_perl {
      package { $znapzend::perl_packages:
        ensure => present,
      }
    }
  }
}