Set the correct default for gnocchi workers
authorPradeep Kilambi <pkilambi@redhat.com>
Wed, 25 Jan 2017 18:55:57 +0000 (13:55 -0500)
committerPradeep Kilambi <pkilambi@redhat.com>
Wed, 25 Jan 2017 20:58:44 +0000 (20:58 +0000)
The current default is empty which overrides the puppet-gnocchi
os_workers calculated value. Instead default to the os_workers.

Change-Id: I9bf9a107c03172500f7c8c5e4353c20305c8e6b5

puppet/services/gnocchi-metricd.yaml

index e5f9a8e..2770060 100644 (file)
@@ -22,7 +22,7 @@ parameters:
     default: 'overcloud-gnocchi-metricd'
     type: string
   GnocchiMetricdWorkers:
-    default: ''
+    default: '%{::os_workers}'
     description: Number of workers for Gnocchi MetricD
     type: string