Go to file
Nitin Madhok 2aa2f401af Merge pull request #1 from bmwiedemann/master
support SUSE-based OSes
2017-03-16 10:31:21 -04:00
rsyncd support SUSE-based OSes 2017-03-16 15:17:06 +01:00
test/pillar Removed unused file 2015-05-15 02:17:21 +02:00
.travis.yml Removed a leftover from previous test procedure 2015-05-18 01:02:26 +02:00
CHANGELOG.rst Initial commit 2015-05-03 00:34:43 +02:00
LICENSE Initial commit 2015-05-03 00:34:43 +02:00
README.rst Easier Testing example [ci skip] 2015-05-18 00:59:00 +02:00
pillar.example Initial commit 2015-05-03 00:34:43 +02:00

README.rst

.. image:: https://travis-ci.org/martinhoefling/rsyncd-formula.svg?branch=master
    :target: https://travis-ci.org/martinhoefling/rsyncd-formula

================
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``
------------

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.

``rsyncd.config``
------------

Configure the rsync daemon by writing an rsync.conf and rsync secrets (optional).

Testing
=======

This command will apply the `rsyncd` state on localhost with the example pillar. Perfect for testing in containers::

    salt-call state.sls rsyncd --local --retcode-passthrough --file-root=$(pwd) --pillar-root=test/pillar