diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-13 18:10:18 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-13 18:10:18 +0000 |
commit | 6674bd958770fa125a9a6928afd2a5ebf558c446 (patch) | |
tree | cf34b7a9476676693ce94f3f20dcb25d41a86f40 /puppet | |
parent | ab3d03f46fa0ae0e15760cbbf90e86d49d3751a4 (diff) | |
parent | 7ec9860c77148130c78db65ba0897755355d2f8c (diff) |
Merge "Add support to configure Num of Storage sacks"
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/gnocchi-base.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/puppet/services/gnocchi-base.yaml b/puppet/services/gnocchi-base.yaml index f4067ef6..b4af7e85 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: number 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: + str_replace: + template: " --sacks-number NUM_SACKS" + params: + NUM_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 |