Puppet Class: icingaweb2::module::doc
- Defined in:
- manifests/module/doc.pp
Overview
Class: icingaweb2::module::doc
The doc module provides an interface to the Icinga 2 and Icinga Web 2 documentation.
Parameters
- ensure
-
Enable or disable module. Defaults to ‘present`
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'manifests/module/doc.pp', line 10
class icingaweb2::module::doc(
Enum['absent', 'present'] $ensure = 'present',
){
case $::osfamily {
'Debian': {
$install_method = 'package'
$package_name = 'icingaweb2-module-doc'
}
default: {
$install_method = 'none'
$package_name = undef
}
}
icingaweb2::module { 'doc':
ensure => $ensure,
install_method => $install_method,
package_name => $package_name,
}
}
|