aboutsummaryrefslogtreecommitdiffstats
path: root/swift-deploy.yaml
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2014-08-04 08:43:34 +1200
committerSteve Baker <sbaker@redhat.com>2014-08-04 08:57:52 +1200
commitbeca15dec5265783047d5df210b270ed3d77dd4b (patch)
treeae0f9d59cc80f1794e8e31c8d150daad11987371 /swift-deploy.yaml
parent9413fb3098254fb8cbeb5d4951aba474b8755afb (diff)
Port all templates to HOT
This change was generated and validated by running the following: make hot clean all validate-all This converts all templates to be valid HOT. Fn::Select is not converted in this change but this will actually work with heat_template_version 2013-05-23. Fn::Select is converted manually in the next change in this series. This change also sets the heat_template_version to 2014-10-16 which includes the list_join intrinsic functions used throughout these templates. Partial-Blueprint: tripleo-juno-remove-mergepy Change-Id: Ib3cbb83f6ae94adb7b793ab1b662bd5c55cbb5b3
Diffstat (limited to 'swift-deploy.yaml')
-rw-r--r--swift-deploy.yaml52
1 files changed, 26 insertions, 26 deletions
diff --git a/swift-deploy.yaml b/swift-deploy.yaml
index e5b83de4..2da242e1 100644
--- a/swift-deploy.yaml
+++ b/swift-deploy.yaml
@@ -1,55 +1,55 @@
-Description: 'Swift-proxy: OpenStack object storage proxy'
-Parameters:
+description: 'Swift-proxy: OpenStack object storage proxy'
+parameters:
SwiftHashSuffix:
- Default: unset
- Description: A random string to be used as a salt when hashing to determine mappings in the ring.
- Type: String
- NoEcho: true
+ default: unset
+ description: A random string to be used as a salt when hashing to determine mappings in the ring.
+ type: string
+ hidden: true
SwiftPassword:
- Default: unset
- Description: The password for the swift service account, used by the swift proxy services.
- Type: String
- NoEcho: true
-Resources:
+ default: unset
+ description: The password for the swift service account, used by the swift proxy services.
+ type: string
+ hidden: true
+resources:
controller0Swift:
- Type: OS::Heat::StructuredDeployment
- Properties:
- config: {Ref: SwiftConfig}
- server: {Ref: controller0}
+ type: OS::Heat::StructuredDeployment
+ properties:
+ config: {get_resource: SwiftConfig}
+ server: {get_resource: controller0}
signal_transport: NO_SIGNAL
input_values:
- swift_hash_suffix: {Ref: SwiftHashSuffix}
- swift_password: {Ref: SwiftPassword}
+ swift_hash_suffix: {get_param: SwiftHashSuffix}
+ swift_password: {get_param: SwiftPassword}
swift_devices:
- Fn::Join:
+ list_join:
- ', '
- Merge::Map:
controller0:
- Fn::Join:
+ list_join:
- ''
- - 'r1z1-'
- - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
+ - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {get_attr: [controller0, networks]} ]} ] }
- ':%PORT%/d1'
SwiftStorage0:
- Fn::Join:
+ list_join:
- ''
- - 'r1z1-'
- Fn::Select:
- 0
- Fn::Select:
- 'ctlplane'
- - Fn::GetAtt:
+ - get_attr:
- SwiftStorage0
- networks
- ':%PORT%/d1'
swift_proxy_memcache:
- Fn::Join:
+ list_join:
- ','
- Merge::Map:
controller0:
- Fn::Join:
+ list_join:
- ', '
- - - Fn::Join:
+ - - list_join:
- ''
- - - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
+ - - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {get_attr: [controller0, networks]} ]} ] }
- ':11211'