0
0
mirror of https://github.com/saltstack-formulas/rsyncd-formula.git synced 2025-02-21 08:52:40 +01:00

Easier Testing example [ci skip]

This commit is contained in:
jpic 2015-05-18 00:58:44 +02:00
parent 8343d10de0
commit 707f069671

View File

@ -31,8 +31,6 @@ Configure the rsync daemon by writing an rsync.conf and rsync secrets (optional)
Testing
=======
As you can read in .travis.yml, testing is a matter of symlinking this
directory to /srv/formula (because we can't use relative paths in file_roots /
pillar_roots) and running::
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=/srv/formula --pillar-root=test/pillar
salt-call state.sls rsyncd --local --retcode-passthrough --file-root=$(pwd) --pillar-root=test/pillar