Easier Testing example [ci skip]
This commit is contained in:
parent
8343d10de0
commit
707f069671
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue