aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/cinder-api.yaml
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-10-21 15:37:35 +0300
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-10-21 15:37:35 +0300
commitda3b0cb68f5652789e67a82052f5396f4df3531c (patch)
tree3c55fb4acfc11de33564a9a0f23012737797d030 /puppet/services/cinder-api.yaml
parent0b62c9524c8eaffa964dbcae8b905370e536cac1 (diff)
Use ::os_workers fact instead of ::processorcount
Change-Id: Ib25849565c617f32357ef545957f58454b2a53f8
Diffstat (limited to 'puppet/services/cinder-api.yaml')
-rw-r--r--puppet/services/cinder-api.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/services/cinder-api.yaml b/puppet/services/cinder-api.yaml
index a48e4681..3c624e3a 100644
--- a/puppet/services/cinder-api.yaml
+++ b/puppet/services/cinder-api.yaml
@@ -42,7 +42,7 @@ parameters:
CinderWorkers:
type: string
description: Set the number of workers for cinder::wsgi::apache
- default: '"%{::processorcount}"'
+ default: '"%{::os_workers}"'
conditions:
cinder_workers_zero: {equals : [{get_param: CinderWorkers}, 0]}