66d9d95ee2
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::server::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: }
|
|
|
|
}
|