Remove unnecessary cinder metadata
[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           - - Fn::Join:
22               - ''
23               - - 'r1z1-'
24                 - Fn::Select:
25                   - 0
26                   - Fn::Select:
27                     - 'ctlplane'
28                     - Fn::GetAtt:
29                       - notCompute0
30                       - networks
31                 - ':%PORT%/d1'
32             - Fn::Join:
33               - ', '
34               - Merge::Map:
35                   SwiftStorage0:
36                     Fn::Join:
37                     - ''
38                     - - 'r1z1-'
39                       - Fn::Select:
40                         - 0
41                         - Fn::Select:
42                           - 'ctlplane'
43                           - Fn::GetAtt:
44                             - SwiftStorage0
45                             - networks
46                       - ':%PORT%/d1'
47         hash:
48           Ref: SwiftHashSuffix
49         part-power: 10
50         replicas: 1
51         service-password:
52           Ref: SwiftPassword