module-icinga2/manifests/server/features.pp
Steven Bambling e846110b8d wrong icinga ver
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00

12 řádky
308 B
Puppet

# Enable Features for Icinga 2
class icinga2::server::features (
$enabled_features = ['checker', 'notification', 'maillog'],
) {
# Do some checking
validate_array($enabled_features)
# Pass the features arry to the define to loop though
icinga2::server::features::enable { $enabled_features: }
}