aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-08 14:58:55 +0000
committerGerrit Code Review <review@openstack.org>2017-06-08 14:58:55 +0000
commit24c0e0d728162ef6be0593f2c65f2a7543a5aca4 (patch)
treec20192d69b8ca6b5e42abd757414f360d2ef9df3 /puppet
parent345439c804f2804e7960b08832be818f37b47ada (diff)
parenta915b150018bf306a5942782bf93c5faadcd7cde (diff)
Merge "Add support to configure Num of Storage sacks"
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/gnocchi-base.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/puppet/services/gnocchi-base.yaml b/puppet/services/gnocchi-base.yaml
index f4067ef6..e6a172a0 100644
--- a/puppet/services/gnocchi-base.yaml
+++ b/puppet/services/gnocchi-base.yaml
@@ -34,6 +34,10 @@ parameters:
default: 30
description: Delay between processing metrics.
type: number
+ NumberOfStorageSacks:
+ default: '128'
+ description: Number of storage sacks to create.
+ type: string
GnocchiPassword:
description: The password for the gnocchi service and db account.
type: string
@@ -87,7 +91,11 @@ outputs:
query:
read_default_file: /etc/my.cnf.d/tripleo.cnf
read_default_group: tripleo
- gnocchi::db::sync::extra_opts: ''
+ gnocchi::db::sync::extra_opts:
+ list_join:
+ - ' '
+ - - '--num-storage-sacks'
+ - {get_param: NumberOfStorageSacks}
gnocchi::storage::metric_processing_delay: {get_param: MetricProcessingDelay}
gnocchi::storage::swift::swift_user: 'service:gnocchi'
gnocchi::storage::swift::swift_auth_version: 3