module-icinga2/manifests/server/features.pp
Steven Bambling 6526467f42 calling disable define and adding new params
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:21 -07:00

17 lines
536 B
ObjectPascal

# Enable Features for Icinga 2
class icinga2::server::features (
$enabled_features = $icinga2::server::server_enabled_features,
$disabled_features = $icinga2::server::server_disabled_features,
) {
# Do some checking
validate_array($enabled_features)
validate_array($disabled_features)
#Pass the disabled features array to the define for looping
icinga2::server::features::disable { $disabled_features: }
#Pass the features array to the define for looping
icinga2::server::features::enable { $enabled_features: }
}