fix typo
diff --git a/rsync/conf/rsyncd.conf b/rsync/conf/rsyncd.conf
index dcfdae6..12eeee6 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.module.iteritems() %}
+{%- for name, module in server.modules.iteritems() %}
 [{{ name}}]
 max connections = {{ module.max_connections }}
 path = {{ module.path }}
diff --git a/rsync/map.jinja b/rsync/map.jinja
index 68e8167..610ef81 100644
--- a/rsync/map.jinja
+++ b/rsync/map.jinja
@@ -2,7 +2,7 @@
 {% set server = salt['grains.filter_by']({
     'Debian': {
         'pkgs': ['rsync'],
-        'service': 'rsyncd',
+        'service': 'rsync',
         'user': 'root',
         'group': 'root',
         'config': '/etc/default/rsync',