Merge "Parametrize Swift partition power"

This commit is contained in:
Jenkins 2014-09-16 09:15:26 +00:00 committed by Gerrit Code Review
commit 622d4cb6cf
3 changed files with 7 additions and 1 deletions

View File

@ -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:
- ', '

View File

@ -7,7 +7,7 @@ resources:
swift:
devices: { get_input: swift_devices }
hash: { get_input: swift_hash_suffix }
part-power: 10
part-power: { get_input: swift_part_power }
proxy-memcache: { get_input: swift_proxy_memcache }
replicas: {get_input: swift_replicas }
service-password: { get_input: swift_password }

View File

@ -43,6 +43,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:
- ', '