diff options
author | 2016-10-21 15:37:35 +0300 | |
---|---|---|
committer | 2016-10-21 15:37:35 +0300 | |
commit | da3b0cb68f5652789e67a82052f5396f4df3531c (patch) | |
tree | 3c55fb4acfc11de33564a9a0f23012737797d030 /puppet | |
parent | 0b62c9524c8eaffa964dbcae8b905370e536cac1 (diff) |
Use ::os_workers fact instead of ::processorcount
Change-Id: Ib25849565c617f32357ef545957f58454b2a53f8
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/cinder-api.yaml | 2 | ||||
-rw-r--r-- | puppet/services/keystone.yaml | 2 |
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 |