Puppet Class: icingaweb2::install

Defined in:
manifests/install.pp

Overview



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

class icingaweb2::install {

  assert_private("You're not supposed to use this defined type manually.")

  $package_name        = $::icingaweb2::globals::package_name
  $manage_package      = $::icingaweb2::manage_package
  $extra_packages      = $::icingaweb2::extra_packages

  if $manage_package {
    package { $package_name:
      ensure => installed,
    }
  }

  if $extra_packages {
    ensure_packages($extra_packages, { 'ensure' => installed })
  }

}