updating parameter names and define call

Signed-off-by: Nick Chappell <nick@intronic.org>
This commit is contained in:
Steven Bambling 2014-09-30 17:08:46 -04:00 committed by Nick Chappell
parent 829c22d1cd
commit a0fb8f8a09

View file

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