Puppet Class: icingaweb2::module::incubator

Defined in:
manifests/module/incubator.pp

Summary

Installs and enables the incubator 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. Defaults to ‘present`

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

    Target directory of the module.

  • git_repository (String)

    Set a git repository URL. Defaults to github.

  • 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/incubator.pp', line 18

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

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

}