summaryrefslogtreecommitdiff
path: root/openstack/usr/share/swift/etc/rsyncd.j2
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-17 08:12:00 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-04-16 19:05:46 +0000
commit3b2354f8d8aad716f2c456e0dd33cdec8317e037 (patch)
tree9ece98e6cd6077dc80a50dc0c68673deaed4c9cc /openstack/usr/share/swift/etc/rsyncd.j2
parent587347682de1b858e272255e6b3cce215dc4f9c8 (diff)
downloaddefinitions-3b2354f8d8aad716f2c456e0dd33cdec8317e037.tar.gz
Add configuration for swift controller node
This adds configuration needed to deploy a swift proxy-server that uses keystone for authentication. Change-Id: I038180e2d1e16f1f612986ca9db241ce05afa84c
Diffstat (limited to 'openstack/usr/share/swift/etc/rsyncd.j2')
-rw-r--r--openstack/usr/share/swift/etc/rsyncd.j223
1 files changed, 23 insertions, 0 deletions
diff --git a/openstack/usr/share/swift/etc/rsyncd.j2 b/openstack/usr/share/swift/etc/rsyncd.j2
new file mode 100644
index 00000000..c0657665
--- /dev/null
+++ b/openstack/usr/share/swift/etc/rsyncd.j2
@@ -0,0 +1,23 @@
+uid = swift
+gid = swift
+log file = /var/log/rsyncd.log
+pid file = /var/run/rsyncd.pid
+address = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
+
+[account]
+max connections = 2
+path = /srv/node/
+read only = false
+lock file = /var/lock/account.lock
+
+[container]
+max connections = 2
+path = /srv/node/
+read only = false
+lock file = /var/lock/container.lock
+
+[object]
+max connections = 2
+path = /srv/node/
+read only = false
+lock file = /var/lock/object.lock