adding default features to the paras.pp
Signed-off-by: Nick Chappell <nick@intronic.org>
This commit is contained in:
parent
664d918edf
commit
fb55aca0d5
2 changed files with 4 additions and 1 deletions
|
@ -60,6 +60,9 @@ class icinga2::params {
|
|||
#Whether to install the plugin packages when the icinga2::server class is applied:
|
||||
$server_install_nagios_plugins = true
|
||||
|
||||
#What Icinga 2 features should be enabled when icinga2::server::features class is applied:
|
||||
$server_enabled_features = ['checker','notification']
|
||||
|
||||
##############################
|
||||
# Icinga 2 server package parameters
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Enable Features for Icinga 2
|
||||
class icinga2::server::features (
|
||||
$enabled_features = ['checker', 'notification'],
|
||||
$enabled_features = $icinga2::params::server_enabled_features,
|
||||
) {
|
||||
|
||||
# Do some checking
|
||||
|
|
Loading…
Reference in a new issue