Update to reflect puppet-pacemaker changes
[apex-tripleo-heat-templates.git] / swift-devices-and-proxy-config.yaml
1 heat_template_version: 2014-10-16
2 description: 'Swift Devices and Proxy Config'
3
4 parameters:
5   controller_swift_devices:
6     type: comma_delimited_list
7   object_store_swift_devices:
8     type: comma_delimited_list
9   controller_swift_proxy_memcaches:
10     type: comma_delimited_list
11
12 resources:
13
14   SwiftDevicesAndProxyConfigImpl:
15     type: OS::Heat::StructuredConfig
16     properties:
17       group: os-apply-config
18       config:
19         swift:
20           devices:
21             list_join:
22             - ", "
23             - - list_join:
24                 - ", "
25                 - {get_param: controller_swift_devices}
26               - list_join:
27                 - ", "
28                 - {get_param: object_store_swift_devices}
29           proxy-memcache:
30             list_join:
31             - ","
32             - {get_param: controller_swift_proxy_memcaches}
33
34 outputs:
35   config_id:
36     description: The ID of the SwiftDevicesAndProxyConfigImpl resource.
37     value:
38       {get_resource: SwiftDevicesAndProxyConfigImpl}