Puppet Class: vaz::install

Defined in:
manifests/install.pp

Overview

Parameters:

  • package_ensure (String) (defaults to: 'present')


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

class vaz::install (
  String $package_ensure = 'present',
) {

  include vaz::repo

  $require = $facts['os']['family'] ? {
    'Debian' => Class['apt::update'],
    'RedHat' => Yumrepo['vaz'],
  }

  package { 'vaz':
    ensure  => $package_ensure,
    require => $require,
  }

}