Fix metadata for module
diff --git a/README.rst b/README.rst
index df0c79d..895dace 100644
--- a/README.rst
+++ b/README.rst
@@ -10,13 +10,13 @@
enabled: true
bind:
address: 0.0.0.0
- modules:
- - name: name
- max connections: 2
- device: /srv/rsync/
- read only: False
+ module:
+ name:
+ max_connections: 2
+ path: /srv/rsync
+ read_only: False
## Read more
* http://rsync.samba.org/
-* http://www.togaware.com/linux/survivor/Rsync_Server.html
\ No newline at end of file
+* http://www.togaware.com/linux/survivor/Rsync_Server.html
diff --git a/rsync/conf/rsyncd.conf b/rsync/conf/rsyncd.conf
index 12eeee6..dcfdae6 100644
--- a/rsync/conf/rsyncd.conf
+++ b/rsync/conf/rsyncd.conf
@@ -6,7 +6,7 @@
pid file = /var/run/rsyncd.pid
address = {{ server.bind.address }}
-{%- for name, module in server.modules.iteritems() %}
+{%- for name, module in server.module.iteritems() %}
[{{ name}}]
max connections = {{ module.max_connections }}
path = {{ module.path }}