Puppet Class: icingaweb2::module::ipl

Defined in:
manifests/module/ipl.pp

Summary

Installs and enables the ipl module.

Overview

Note:

If you want to use ‘git` as `install_method`, the CLI `git` command has to be installed. You can manage it yourself as package resource or declare the package name in icingaweb2 class parameter `extra_packages`.

Parameters:

  • ensure (Enum['absent', 'present']) (defaults to: 'present')

    Enable or disable module.

  • module_dir (Optional[Stdlib::Absolutepath]) (defaults to: undef)

    Target directory of the module.

  • git_repository (String)

    Set a git repository URL.

  • git_revision (String)

    Set either a branch or a tag name, eg. ‘stable/0.7.0` or `v0.7.0`.



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'manifests/module/ipl.pp', line 18

class icingaweb2::module::ipl(
  String                         $git_repository,
  String                         $git_revision,
  Enum['absent', 'present']      $ensure         = 'present',
  Optional[Stdlib::Absolutepath] $module_dir     = undef,
) {

  icingaweb2::module { 'ipl':
    ensure         => $ensure,
    module_dir     => $module_dir,
    git_repository => $git_repository,
    git_revision   => $git_revision,
  }

}