Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Don't curl metadata server in userdata example"
[apex-tripleo-heat-templates.git]
/
docker
/
services
/
gnocchi-api.yaml
diff --git
a/docker/services/gnocchi-api.yaml
b/docker/services/gnocchi-api.yaml
index
5129b89
..
41fe197
100644
(file)
--- a/
docker/services/gnocchi-api.yaml
+++ b/
docker/services/gnocchi-api.yaml
@@
-39,6
+39,10
@@
parameters:
EnableInternalTLS:
type: boolean
default: false
EnableInternalTLS:
type: boolean
default: false
+ NumberOfStorageSacks:
+ default: 128
+ description: Number of storage sacks to create.
+ type: number
conditions:
conditions:
@@
-110,7
+114,11
@@
outputs:
-
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
- /var/log/containers/gnocchi:/var/log/gnocchi
-
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
- /var/log/containers/gnocchi:/var/log/gnocchi
- command: "/usr/bin/bootstrap_host_exec gnocchi_api su gnocchi -s /bin/bash -c '/usr/bin/gnocchi-upgrade --skip-storage'"
+ command:
+ str_replace:
+ template: "/usr/bin/bootstrap_host_exec gnocchi_api su gnocchi -s /bin/bash -c /usr/bin/gnocchi-upgrade --sacks-number=SACK_NUM"
+ params:
+ SACK_NUM: {get_param: NumberOfStorageSacks}
step_4:
gnocchi_api:
image: *gnocchi_api_image
step_4:
gnocchi_api:
image: *gnocchi_api_image