fb55aca0d5
Signed-off-by: Nick Chappell <nick@intronic.org>
12 lines
311 B
Puppet
12 lines
311 B
Puppet
# Enable Features for Icinga 2
|
|
class icinga2::server::features (
|
|
$enabled_features = $icinga2::params::server_enabled_features,
|
|
) {
|
|
|
|
# Do some checking
|
|
validate_array($enabled_features)
|
|
|
|
# Pass the features arry to the define to loop though
|
|
icinga2::server::features::enable { $enabled_features: }
|
|
|
|
}
|