summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-03 16:42:39 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-03 16:42:39 +0000
commita813a85277f2f504e64f6ccec3fd3026cb0092b2 (patch)
tree86772a7f6e146fff0e247bbf96b0305a6875a164
parenta88eb0e729049acffdde90a7fdce1dad93caabfa (diff)
downloaddefinitions-a813a85277f2f504e64f6ccec3fd3026cb0092b2.tar.gz
Transfer ring into /etc/swift
this is a bit of a hack and will only work for one node configs
-rw-r--r--openstack/usr/share/openstack/swift-controller.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/openstack/usr/share/openstack/swift-controller.yml b/openstack/usr/share/openstack/swift-controller.yml
index 3a09396e..1101eccd 100644
--- a/openstack/usr/share/openstack/swift-controller.yml
+++ b/openstack/usr/share/openstack/swift-controller.yml
@@ -41,3 +41,6 @@
- name: Rebalance the ring
shell: swift-ring-builder account.builder rebalance
+
+ - name: Transfer ring to /etc/swift on each node
+ shell: cp account.builder /etc/swift