aboutsummaryrefslogtreecommitdiffstats
path: root/swift-deploy.yaml
diff options
context:
space:
mode:
authorEamonn O'Toole <eamonn.otoole@hp.com>2014-07-28 16:33:06 +0100
committerEamonn O'Toole <eamonn.otoole@hp.com>2014-09-05 11:19:22 +0100
commitb7964165b7e2c68743063834445977158a8b3448 (patch)
tree202ba606946449d52abaa0e74c7d3642eddeaf1b /swift-deploy.yaml
parent1c7e2c8cd7051398c32a4c9fbd74b90a1e193c59 (diff)
Parametrize Swift partition power
The Swift partition power is currently hard-coded to 10. While this is fine for small Swift clusters there are some users who will want to configure rings with higher partition powers. We have parametrized the value of the partition power, and the default is set to 10. Change-Id: If115cf5cf2f4c2ff7d28b0f5ae3d2ca3f4b4be5a
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 e3f475c0..a7486490 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
+ SwiftPartPower:
+ default: 10
+ description: Partition Power to use when building Swift rings
+ type: number
SwiftReplicas:
type: number
default: 1
@@ -24,6 +28,7 @@ resources:
input_values:
swift_hash_suffix: {get_param: SwiftHashSuffix}
swift_password: {get_param: SwiftPassword}
+ swift_part_power: {get_param: SwiftPartPower}
swift_devices:
Fn::Join:
- ', '