diff --git a/manifests/module/incubator.pp b/manifests/module/incubator.pp index 2ecab28..130afe6 100644 --- a/manifests/module/incubator.pp +++ b/manifests/module/incubator.pp @@ -1,28 +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( + String $git_revision, 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 index eeb6b76..2b91321 100644 --- a/manifests/module/ipl.pp +++ b/manifests/module/ipl.pp @@ -1,28 +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( + String $git_revision, 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 index f446330..cd050c9 100644 --- a/manifests/module/reactbundle.pp +++ b/manifests/module/reactbundle.pp @@ -1,29 +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( + String $git_revision, 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, } }