aboutsummaryrefslogtreecommitdiffstats
path: root/swift-deploy.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-08-26 11:35:34 +0000
committerGerrit Code Review <review@openstack.org>2014-08-26 11:35:34 +0000
commit1c7e2c8cd7051398c32a4c9fbd74b90a1e193c59 (patch)
tree5e8ab6509e3601b3860db0e0c8b5bd1770019326 /swift-deploy.yaml
parent59e97e4ae0f02069dbcf6f675337cc11bd0d6076 (diff)
parenta7480472f7efb134108023c44276b52544efbd47 (diff)
Merge "Make Swift replica count configurable."
Diffstat (limited to 'swift-deploy.yaml')
-rw-r--r--swift-deploy.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/swift-deploy.yaml b/swift-deploy.yaml
index 239a4d48..e3f475c0 100644
--- a/swift-deploy.yaml
+++ b/swift-deploy.yaml
@@ -10,6 +10,10 @@ parameters:
description: The password for the swift service account, used by the swift proxy services.
type: string
hidden: true
+ SwiftReplicas:
+ type: number
+ default: 1
+ description: How many replicas to use in the swift rings.
resources:
controller0Swift:
type: OS::Heat::StructuredDeployment
@@ -47,3 +51,4 @@ resources:
- ''
- - {get_attr: [controller0, networks, ctlplane, 0]}
- ':11211'
+ swift_replicas: { get_param: SwiftReplicas}