Puppet Function: icingaweb2::assert_module
- Defined in:
- functions/assert_module.pp
- Function type:
- Puppet Language
Summary
This function returns a fail if the icingaweb2 class isn't declared.Overview
7 8 9 10 11 |
# File 'functions/assert_module.pp', line 7
function icingaweb2::assert_module() {
unless defined(Class['icingaweb2']) {
fail('You must declare the icingaweb2 base class before using any icingaweb2 module class!')
}
}
|