module-icinga2/manifests/server/features.pp
Steven Bambling 829c22d1cd adding default features and rename class
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00

12 lines
282 B
Puppet

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