summaryrefslogtreecommitdiffstats
path: root/swift-storage-source.yaml
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2014-08-13 12:02:52 +1200
committerRobert Collins <rbtcollins@hp.com>2014-08-13 12:12:58 +1200
commita7480472f7efb134108023c44276b52544efbd47 (patch)
tree5a8ea7c201a798bd42cc83c487e16e967f2525ba /swift-storage-source.yaml
parent5d35e97cfa2ac14ac91e2b9038a11e94606c0816 (diff)
Make Swift replica count configurable.
Using 1 is thoroughly non-HA :) This is the HOT version of this patch. Change-Id: Ic96bcdc03dacb9650520bd9ac1ce3805c6dac2fa implements: blueprint tripleo-icehouse-ha-production-configuration
Diffstat (limited to 'swift-storage-source.yaml')
-rw-r--r--swift-storage-source.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/swift-storage-source.yaml b/swift-storage-source.yaml
index fbedb0bf..224e7712 100644
--- a/swift-storage-source.yaml
+++ b/swift-storage-source.yaml
@@ -4,6 +4,10 @@ parameters:
SwiftStorageImage:
type: string
default: overcloud-swift-storage
+ SwiftReplicas:
+ type: number
+ default: 1
+ description: How many replicas to use in the swift rings.
OvercloudSwiftStorageFlavor:
default: baremetal
description: Flavor for Swift storage nodes to request when deploying.
@@ -75,3 +79,4 @@ resources:
- ''
- - {get_attr: [controller0, networks, ctlplane, 0]}
- ':11211'
+ swift_replicas: { get_param: SwiftReplicas}