summaryrefslogtreecommitdiffstats
path: root/puppet/services
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
parent0b62c9524c8eaffa964dbcae8b905370e536cac1 (diff)
Use ::os_workers fact instead of ::processorcount
Change-Id: Ib25849565c617f32357ef545957f58454b2a53f8
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/cinder-api.yaml2
-rw-r--r--puppet/services/keystone.yaml2
2 files changed, 2 insertions, 2 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]}
diff --git a/puppet/services/keystone.yaml b/puppet/services/keystone.yaml
index e3531636..7c200a5b 100644
--- a/puppet/services/keystone.yaml
+++ b/puppet/services/keystone.yaml
@@ -83,7 +83,7 @@ parameters:
KeystoneWorkers:
type: string
description: Set the number of workers for keystone::wsgi::apache
- default: '"%{::processorcount}"'
+ default: '"%{::os_workers}"'
MonitoringSubscriptionKeystone:
default: 'overcloud-kestone'
type: string