aboutsummaryrefslogtreecommitdiffstats
path: root/os-apply-config/swift-devices-and-proxy-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'os-apply-config/swift-devices-and-proxy-config.yaml')
-rw-r--r--os-apply-config/swift-devices-and-proxy-config.yaml38
1 files changed, 38 insertions, 0 deletions
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}