2015-05-15 01:01:14 +02:00
.. image :: https://travis-ci.org/martinhoefling/rsyncd-formula.svg?branch=master
:target: https://travis-ci.org/martinhoefling/rsyncd-formula
2015-05-01 23:22:41 +02:00
================
rsyncd-formula
================
A formula to install and configure rsync as daemon process.
.. note ::
See the full `Salt Formulas installation and usage instructions
<http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
Available states
================
.. contents ::
:local:
`` rsyncd ``
------------
2015-05-15 23:04:16 +02:00
Installs the rsync package, and starts the rsyncd service. Note: The rsyncd.conf has to be created manually / via another state. If the state of the config should also be managed via salt, the rsyncd.config state (which pulls rsyncd) should be used instead.
2015-05-01 23:22:41 +02:00
`` rsyncd.config ``
------------
Configure the rsync daemon by writing an rsync.conf and rsync secrets (optional).
2015-05-15 00:17:25 +02:00
Testing
=======
2015-05-18 00:58:44 +02:00
This command will apply the `rsyncd` state on localhost with the example pillar. Perfect for testing in containers::
2015-05-15 00:17:25 +02:00
2015-05-18 00:58:44 +02:00
salt-call state.sls rsyncd --local --retcode-passthrough --file-root=$(pwd) --pillar-root=test/pillar