Use VIP for rabbit/keystone and mysql in block-storage.yaml
[apex-tripleo-heat-templates.git] / swift-deploy.yaml
1 description: 'Swift-proxy: OpenStack object storage proxy'
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     hidden: 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     hidden: true
13 resources:
14   controller0Swift:
15     type: OS::Heat::StructuredDeployment
16     properties:
17       config: {get_resource: SwiftConfig}
18       server: {get_resource: controller0}
19       signal_transport: NO_SIGNAL
20       input_values:
21         swift_hash_suffix: {get_param: SwiftHashSuffix}
22         swift_password: {get_param: SwiftPassword}
23         swift_devices:
24           Fn::Join:
25           - ', '
26           - Merge::Map:
27               controller0:
28                 Fn::Join:
29                 - ''
30                 - - 'r1z1-'
31                   - {get_attr: [controller0, networks, ctlplane, 0]}
32                   - ':%PORT%/d1'
33               SwiftStorage0:
34                 Fn::Join:
35                 - ''
36                 - - 'r1z1-'
37                   - {get_attr: [SwiftStorage0, networks, ctlplane, 0]}
38                   - ':%PORT%/d1'
39         swift_proxy_memcache:
40           Fn::Join:
41             - ','
42             - Merge::Map:
43                 controller0:
44                   Fn::Join:
45                     - ', '
46                     - - Fn::Join:
47                         - ''
48                         - - {get_attr: [controller0, networks, ctlplane, 0]}
49                           - ':11211'