Support multiple meter dispatchers in ceilometer config
authorPradeep Kilambi <pkilambi@redhat.com>
Wed, 30 Nov 2016 17:54:50 +0000 (12:54 -0500)
committerPradeep Kilambi <pkilambi@redhat.com>
Wed, 30 Nov 2016 17:54:50 +0000 (12:54 -0500)
Currently we only support one dispatcher at a time. But ceilometer
config supports dispatching data to multiple destinations at the
same time. Update the param to support this.

Change-Id: Ie7d854928513239a5903862623df12af1d02b642

puppet/services/ceilometer-base.yaml

index ded1bc0..060ae32 100644 (file)
@@ -31,9 +31,9 @@ parameters:
     type: string
     hidden: true
   CeilometerMeterDispatcher:
-    default: 'gnocchi'
-    description: Dispatcher to process meter data
-    type: string
+    default: ['gnocchi']
+    description: Comma-seperated list of Dispatcher to process meter data
+    type: comma_delimited_list
     constraints:
     - allowed_values: ['gnocchi', 'database']
   CeilometerEventDispatcher: