From d5a1dfab025fb8184ad82727e15e72d6ceb2c675 Mon Sep 17 00:00:00 2001 From: jpic Date: Fri, 15 May 2015 01:18:02 +0200 Subject: [PATCH] Added idempotence check --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3f064bb..285b493 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,5 +23,7 @@ install: script: - sudo salt-call state.show_sls $STATE --local --retcode-passthrough --config-dir=test/etc - sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc + # Idempotence check + - sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc | grep '^Not Run:' && {echo 'Idempotence check failed'; exit 1} - cat /etc/default/rsync - cat /etc/rsyncd.conf