features.pp 307 B

123456789101112
  1. # Enable Features for Icinga 2
  2. class icinga2::server::features (
  3. $enabled_features = ['checker', 'notification', 'maillog'],
  4. ) {
  5. # Do some checking
  6. validate_array($enabled_features)
  7. # Pass the features arry to the define to loop though
  8. icinga::server::feature::enables { $enabled_features: }
  9. }