summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 328593df..fd036fd9 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 00000000..4fa82ef5
--- /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