Merge "Allow manual hosts entry exports in overcloud."
[apex-tripleo-heat-templates.git] / swift-source.yaml
1 Description: 'Swift-common: OpenStack object storage common configurations'
2 Parameters:
3   SwiftHashSuffix:
4     Default: unset
5     Description: A random string to be used as a salt when hashing to determine mappings in the ring.
6     Type: String
7     NoEcho: true
8   SwiftPassword:
9     Default: unset
10     Description: The password for the swift service account, used by the swift proxy services.
11     Type: String
12     NoEcho: true
13 Resources:
14   notCompute0Config:
15     Type: AWS::AutoScaling::LaunchConfiguration
16     Metadata:
17       swift:
18         devices:
19           Fn::Join:
20             - ''
21             - - 'r1z1-'
22               - Fn::Select:
23                 - 0
24                 - Fn::Select:
25                   - 'ctlplane'
26                   - Fn::GetAtt:
27                     - notCompute0
28                     - networks
29               - ':%PORT%/d1'
30         hash:
31           Ref: SwiftHashSuffix
32         part-power: 10
33         replicas: 1
34         service-password:
35           Ref: SwiftPassword