Use ::os_workers fact instead of ::processorcount
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 21 Oct 2016 12:37:35 +0000 (15:37 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 21 Oct 2016 12:37:35 +0000 (15:37 +0300)
Change-Id: Ib25849565c617f32357ef545957f58454b2a53f8

puppet/services/cinder-api.yaml
puppet/services/keystone.yaml

index a48e468..3c624e3 100644 (file)
@@ -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]}
index e353163..7c200a5 100644 (file)
@@ -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