running server::features from server class and passing parameterized array of features
Signed-off-by: Nick Chappell <nick@intronic.org>
This commit is contained in:
parent
fb55aca0d5
commit
16251badad
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,7 @@ class icinga2::server (
|
|||
$icinga2_server_package = $icinga2::params::icinga2_server_package,
|
||||
$server_install_nagios_plugins = $icinga2::params::server_install_nagios_plugins,
|
||||
$install_mail_utils_package = $icinga2::params::install_mail_utils_package,
|
||||
$server_enabled_features = $icinga2::params::server_enabled_features
|
||||
) inherits icinga2::params {
|
||||
|
||||
#Do some validation of parameters so we know we have the right data types:
|
||||
|
@ -80,6 +81,9 @@ class icinga2::server (
|
|||
#class on the right.
|
||||
class {'icinga2::server::install':} ~>
|
||||
class {'icinga2::server::config':} ~>
|
||||
class {'icinga2::server::features':
|
||||
enabled_features => $server_enabled_features,
|
||||
} ~>
|
||||
class {'icinga2::server::service':}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue