From 1ec47775ef150ee308ece8b4b71d85ef924ddcd8 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Fri, 2 Oct 2015 17:52:05 -0400 Subject: Move os-apply-config templates into a directory This patch moves all of the os-apply-config (tripleo-image-elements) specific templates into a common directory. This matches what we do for puppet and should help new users more easily understand the project layout. Change-Id: I7dce2a770d56795f3ea22c8a464595c4a0c60832 --- .../swift-devices-and-proxy-config.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 os-apply-config/swift-devices-and-proxy-config.yaml (limited to 'os-apply-config/swift-devices-and-proxy-config.yaml') diff --git a/os-apply-config/swift-devices-and-proxy-config.yaml b/os-apply-config/swift-devices-and-proxy-config.yaml new file mode 100644 index 00000000..4f01dbea --- /dev/null +++ b/os-apply-config/swift-devices-and-proxy-config.yaml @@ -0,0 +1,38 @@ +heat_template_version: 2015-04-30 +description: 'Swift Devices and Proxy Config' + +parameters: + controller_swift_devices: + type: comma_delimited_list + object_store_swift_devices: + type: comma_delimited_list + controller_swift_proxy_memcaches: + type: comma_delimited_list + +resources: + + SwiftDevicesAndProxyConfigImpl: + type: OS::Heat::StructuredConfig + properties: + group: os-apply-config + config: + swift: + devices: + list_join: + - ", " + - - list_join: + - ", " + - {get_param: controller_swift_devices} + - list_join: + - ", " + - {get_param: object_store_swift_devices} + proxy-memcache: + list_join: + - "," + - {get_param: controller_swift_proxy_memcaches} + +outputs: + config_id: + description: The ID of the SwiftDevicesAndProxyConfigImpl resource. + value: + {get_resource: SwiftDevicesAndProxyConfigImpl} -- cgit 1.2.3-korg