rsync formula updated
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index fd4100d..6a4ce2d 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -1,2 +1,9 @@
applications:
-- rsync
\ No newline at end of file
+- rsync
+parameters:
+ rsync:
+ server:
+ bind:
+ address: 0.0.0.0
+ user: root
+ group: root
\ No newline at end of file
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
new file mode 100644
index 0000000..68883c6
--- /dev/null
+++ b/metadata/service/support.yml
@@ -0,0 +1,11 @@
+parameters:
+ rsync:
+ _support:
+ collectd:
+ enabled: false
+ heka:
+ enabled: false
+ sensu:
+ enabled: true
+ sphinx:
+ enabled: true
diff --git a/rsync/conf/rsyncd.conf b/rsync/conf/rsyncd.conf
index 5274c0b..dcfdae6 100644
--- a/rsync/conf/rsyncd.conf
+++ b/rsync/conf/rsyncd.conf
@@ -6,10 +6,10 @@
pid file = /var/run/rsyncd.pid
address = {{ server.bind.address }}
-{%- for module in server.modules %}
-[{{ module.name}}]
+{%- for name, module in server.module.iteritems() %}
+[{{ name}}]
max connections = {{ module.max_connections }}
-path = /srv/1/node/ {{ module.device }}
+path = {{ module.path }}
read only = {{ module.read_only }}
-lock file = /var/lock/rsync_{{ module.name }}.lock
+lock file = /var/lock/rsync_{{ name }}.lock
{%- endfor %}
diff --git a/rsync/meta/sphinx.yml b/rsync/meta/sphinx.yml
new file mode 100644
index 0000000..2452821
--- /dev/null
+++ b/rsync/meta/sphinx.yml
@@ -0,0 +1,22 @@
+doc:
+ name: Sensu
+ description: Monitor servers, services, application health, and business KPIs. Get notified about failures before your users do. Collect and analyze custom metrics.
+ role:
+ {%- if pillar.sensu.client is defined %}
+ {%- from "sensu/map.jinja" import client with context %}
+ client:
+ name: client
+ param:
+ message_queue:
+ value: {{ client.message_queue.host }}:{{ client.message_queue.port }}
+ {%- endif %}
+ {%- if pillar.sensu.server is defined %}
+ server:
+ name: server
+ param: {}
+ {%- endif %}
+ {%- if pillar.sensu.dashboard is defined %}
+ dashboard:
+ name: dashboard
+ param: {}
+ {%- endif %}