diff --git a/manifests/module/incubator.pp b/manifests/module/incubator.pp new file mode 100644 index 0000000..2ecab28 --- /dev/null +++ b/manifests/module/incubator.pp @@ -0,0 +1,28 @@ +# == Class: icingaweb2::module::incubator +# +# Install and enable the incubator module. +# +# === Parameters +# +# [*ensure*] +# Enable or disable module. Defaults to `present` +# +# [*git_repository*] +# Set a git repository URL. Defaults to github. +# +# [*git_revision*] +# Set either a branch or a tag name, eg. `stable/0.7.0` or `v0.7.0`. +# +class icingaweb2::module::incubator( + Enum['absent', 'present'] $ensure = 'present', + String $git_repository = 'https://github.com/Icinga/icingaweb2-module-incubator.git', + String $git_revision = undef, +){ + + icingaweb2::module { 'incubator': + ensure => $ensure, + git_repository => $git_repository, + git_revision => $git_revision, + } + +} diff --git a/manifests/module/ipl.pp b/manifests/module/ipl.pp new file mode 100644 index 0000000..eeb6b76 --- /dev/null +++ b/manifests/module/ipl.pp @@ -0,0 +1,28 @@ +# == Class: icingaweb2::module::ipl +# +# Install and enable the ipl module. +# +# === Parameters +# +# [*ensure*] +# Enable or disable module. Defaults to `present` +# +# [*git_repository*] +# Set a git repository URL. Defaults to github. +# +# [*git_revision*] +# Set either a branch or a tag name, eg. `stable/0.7.0` or `v0.7.0`. +# +class icingaweb2::module::ipl( + Enum['absent', 'present'] $ensure = 'present', + String $git_repository = 'https://github.com/Icinga/icingaweb2-module-ipl.git', + String $git_revision = undef, +){ + + icingaweb2::module { 'ipl': + ensure => $ensure, + git_repository => $git_repository, + git_revision => $git_revision, + } + +} diff --git a/manifests/module/reactbundle.pp b/manifests/module/reactbundle.pp new file mode 100644 index 0000000..f446330 --- /dev/null +++ b/manifests/module/reactbundle.pp @@ -0,0 +1,29 @@ +# == Class: icingaweb2::module::reactbundle +# +# Install and enable the reactbundle module. +# +# === Parameters +# +# [*ensure*] +# Enable or disable module. Defaults to `present` +# +# [*git_repository*] +# Set a git repository URL. Defaults to github. +# +# [*git_revision*] +# Set either a branch or a tag name, eg. `stable/0.7.0` or `v0.7.0`. +# +class icingaweb2::module::reactbundle( + Enum['absent', 'present'] $ensure = 'present', + String $git_repository = 'https://github.com/Icinga/icingaweb2-module-reactbundle.git', + String $git_revision = undef, +){ + + icingaweb2::module { 'reactbundle': + ensure => $ensure, + git_repository => $git_repository, + git_revision => $git_revision, + } + +} +