Browse Source

updating parameter names and define call

Signed-off-by: Nick Chappell <nick@intronic.org>
Steven Bambling 9 years ago
parent
commit
a0fb8f8a09
1 changed files with 3 additions and 3 deletions
  1. 3 3
      manifests/server/features.pp

+ 3 - 3
manifests/server/features.pp

@@ -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: }
 
 }