summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-09 12:08:56 (GMT)
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-09 12:08:56 (GMT)
commitf646211ff4fc6c23db6b9b6d98c74e74fdfde2e3 (patch)
tree55f3f729dbf02c9e4dc1c5a80728e633c24fe953
parent914d706acbbe08e35353fbbe7316c5f94ed323b0 (diff)
downloaddefinitions-baserock/richardipsum/openstack-swift-on-v4-rebase.tar.gz
-rw-r--r--openstack/manifest1
-rw-r--r--openstack/usr/share/openstack/swift-storage.yml9
2 files changed, 10 insertions, 0 deletions
diff --git a/openstack/manifest b/openstack/manifest
index 328593d..fd036fd 100644
--- a/openstack/manifest
+++ b/openstack/manifest
@@ -164,6 +164,7 @@
0100644 0 0 /etc/swift/proxy-server.conf
0100644 0 0 /etc/swift/swift.conf
0100644 0 0 /usr/share/openstack/swift-controller.yml
+0100644 0 0 /usr/share/openstack/swift-storage.yml
0100644 0 0 /etc/swift/account-server.conf
0100644 0 0 /etc/swift/container-server.conf
0100644 0 0 /etc/swift/object-server.conf
diff --git a/openstack/usr/share/openstack/swift-storage.yml b/openstack/usr/share/openstack/swift-storage.yml
new file mode 100644
index 0000000..4fa82ef
--- /dev/null
+++ b/openstack/usr/share/openstack/swift-storage.yml
@@ -0,0 +1,9 @@
+---
+- hosts: localhost
+ vars_files:
+ - swift-vars.yml
+ vars:
+ remote_user: root
+ tasks:
+ - file: path=/srv/node owner=swift group=swift
+ - file: path=/var/cache/swift owner=swift group=swift state=directory