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-04 15:36:12 +0000
commitd87fa741563bd68ee4c5e74ab8521e8faa469fbb (patch)
treeb06d22b968295aca6970a2919b3a7179894eb774
parentc8d0fb5ca56367483b1083cdaff9ef7cde895fb0 (diff)
downloaddefinitions-d87fa741563bd68ee4c5e74ab8521e8faa469fbb.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