From 2bfaa036abb54db8754792d5360ef8b71119b2fe Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Mon, 13 Nov 2023 14:44:45 +0100 Subject: [PATCH] Remove module ipl --- REFERENCE.md | 44 ----------------------------------------- manifests/module/ipl.pp | 32 ------------------------------ 2 files changed, 76 deletions(-) delete mode 100644 manifests/module/ipl.pp diff --git a/REFERENCE.md b/REFERENCE.md index 62df76ec..21cdb078 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -22,7 +22,6 @@ * [`icingaweb2::module::icingadb`](#icingaweb2--module--icingadb): Manages the icingadb module. This module is still optional at the moment. * [`icingaweb2::module::idoreports`](#icingaweb2--module--idoreports): Installs, configures and enables the idoreports module. The module is deprecated. * [`icingaweb2::module::incubator`](#icingaweb2--module--incubator): Installs and enables the incubator module. -* [`icingaweb2::module::ipl`](#icingaweb2--module--ipl): Installs and enables the ipl module. * [`icingaweb2::module::monitoring`](#icingaweb2--module--monitoring): Manages the monitoring module. This module is deprecated. * [`icingaweb2::module::pdfexport`](#icingaweb2--module--pdfexport): Installs, configures and enables the pdfexport module. * [`icingaweb2::module::puppetdb`](#icingaweb2--module--puppetdb): Installs and configures the puppetdb module. @@ -2126,49 +2125,6 @@ Data type: `String` Set either a branch or a tag name, eg. `stable/0.7.0` or `v0.7.0`. -### `icingaweb2::module::ipl` - -Installs and enables the ipl module. - -* **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 - -The following parameters are available in the `icingaweb2::module::ipl` class: - -* [`ensure`](#-icingaweb2--module--ipl--ensure) -* [`module_dir`](#-icingaweb2--module--ipl--module_dir) -* [`git_repository`](#-icingaweb2--module--ipl--git_repository) -* [`git_revision`](#-icingaweb2--module--ipl--git_revision) - -##### `ensure` - -Data type: `Enum['absent', 'present']` - -Enable or disable module. - -Default value: `'present'` - -##### `module_dir` - -Data type: `Optional[Stdlib::Absolutepath]` - -Target directory of the module. - -Default value: `undef` - -##### `git_repository` - -Data type: `String` - -Set a git repository URL. - -##### `git_revision` - -Data type: `String` - -Set either a branch or a tag name, eg. `stable/0.7.0` or `v0.7.0`. - ### `icingaweb2::module::monitoring` Requirements: diff --git a/manifests/module/ipl.pp b/manifests/module/ipl.pp deleted file mode 100644 index d8640d70..00000000 --- a/manifests/module/ipl.pp +++ /dev/null @@ -1,32 +0,0 @@ -# @summary -# Installs and enables the ipl module. -# -# @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`. -# -# @param ensure -# Enable or disable module. -# -# @param module_dir -# Target directory of the module. -# -# @param git_repository -# Set a git repository URL. -# -# @param git_revision -# Set either a branch or a tag name, eg. `stable/0.7.0` or `v0.7.0`. -# -class icingaweb2::module::ipl ( - String $git_repository, - String $git_revision, - Enum['absent', 'present'] $ensure = 'present', - Optional[Stdlib::Absolutepath] $module_dir = undef, -) { - icingaweb2::assert_module() - - icingaweb2::module { 'ipl': - ensure => $ensure, - module_dir => $module_dir, - git_repository => $git_repository, - git_revision => $git_revision, - } -}