aboutsummaryrefslogtreecommitdiffstats
path: root/swift-deploy.yaml
diff options
context:
space:
mode:
authorJan Provaznik <jprovazn@redhat.com>2014-07-30 07:40:01 -0400
committerJan Provaznik <jprovazn@redhat.com>2014-07-30 13:59:05 +0200
commit82c50c15a8e0fb2e2c397fde6f9b03217482dbfa (patch)
tree9e43ed27398e2675b4c3b22ad8b3af450cc7eeab /swift-deploy.yaml
parent24bc7995d1dba72b3a307d07d000ed0a1c908080 (diff)
Fix swift memcache and device properties
All controller nodes are added into the list of swift devices and into the list of memcache servers. This patch also removes swift storage nodes from the list of memcache servers - I don't think that each storage node should run proxy server (also swift-storage element doesn't depend on swift-proxy). Change-Id: Idb2ce2e2050fb84d8f8b564626b20e7b059fd685
Diffstat (limited to 'swift-deploy.yaml')
-rw-r--r--swift-deploy.yaml68
1 files changed, 28 insertions, 40 deletions
diff --git a/swift-deploy.yaml b/swift-deploy.yaml
index 3fe8eced..e5b83de4 100644
--- a/swift-deploy.yaml
+++ b/swift-deploy.yaml
@@ -23,45 +23,33 @@ Resources:
swift_devices:
Fn::Join:
- ', '
- - - Fn::Join:
- - ''
- - - 'r1z1-'
- - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
- - ':%PORT%/d1'
- - Fn::Join:
- - ', '
- - Merge::Map:
- SwiftStorage0:
- Fn::Join:
- - ''
- - - 'r1z1-'
- - Fn::Select:
- - 0
- - Fn::Select:
- - 'ctlplane'
- - Fn::GetAtt:
- - SwiftStorage0
- - networks
- - ':%PORT%/d1'
+ - Merge::Map:
+ controller0:
+ Fn::Join:
+ - ''
+ - - 'r1z1-'
+ - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
+ - ':%PORT%/d1'
+ SwiftStorage0:
+ Fn::Join:
+ - ''
+ - - 'r1z1-'
+ - Fn::Select:
+ - 0
+ - Fn::Select:
+ - 'ctlplane'
+ - Fn::GetAtt:
+ - SwiftStorage0
+ - networks
+ - ':%PORT%/d1'
swift_proxy_memcache:
Fn::Join:
- - ', '
- - - Fn::Join:
- - ''
- - - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
- - ':11211'
- - Fn::Join:
- - ', '
- - Merge::Map:
- SwiftStorage0:
- Fn::Join:
- - ''
- - - Fn::Select:
- - 0
- - Fn::Select:
- - 'ctlplane'
- - Fn::GetAtt:
- - SwiftStorage0
- - networks
- - ':11211'
-
+ - ','
+ - Merge::Map:
+ controller0:
+ Fn::Join:
+ - ', '
+ - - Fn::Join:
+ - ''
+ - - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
+ - ':11211'