Puppet Class: mofed::install

Defined in:
manifests/install.pp

Overview



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

class mofed::install {
  assert_private()

  if $mofed::manage_packages {
    package { 'mlnx-ofed':
      ensure => $mofed::package_ensure,
      name   => $mofed::package_name,
    }

    if $mofed::extra_packages_hiera_merge {
      $extra_packages = hiera_array('mofed::extra_packages', [])
    } else {
      $extra_packages = $mofed::extra_packages
    }

    if $extra_packages {
      ensure_packages($extra_packages)
    }
  }

}