From 707f069671246591702aa1e5c06579c533d52bb8 Mon Sep 17 00:00:00 2001 From: jpic Date: Mon, 18 May 2015 00:58:44 +0200 Subject: [PATCH] Easier Testing example [ci skip] --- README.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 509baa3..a59b566 100644 --- a/README.rst +++ b/README.rst @@ -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