Easier Testing example [ci skip]

This commit is contained in:
jpic 2015-05-18 00:58:44 +02:00
parent 8343d10de0
commit 707f069671
1 changed files with 2 additions and 4 deletions

View File

@ -31,8 +31,6 @@ Configure the rsync daemon by writing an rsync.conf and rsync secrets (optional)
Testing Testing
======= =======
As you can read in .travis.yml, testing is a matter of symlinking this This command will apply the `rsyncd` state on localhost with the example pillar. Perfect for testing in containers::
directory to /srv/formula (because we can't use relative paths in file_roots /
pillar_roots) and running::
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