0
0
mirror of https://github.com/saltstack-formulas/rsyncd-formula.git synced 2025-07-21 00:28:22 +02:00

Idempotence check simplification.

The previous version would report false-positives, ie.:

https://travis-ci.org/martinhoefling/rsyncd-formula/jobs/62631447
This commit is contained in:
jpic 2015-05-15 01:47:06 +02:00
parent b20604d99b
commit dc09a0a65f

View File

@ -31,4 +31,4 @@ script:
# Idempotence check
- sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc > /tmp/second
- cat /tmp/second
- grep '^Not Run:' /tmp/second && { echo 'Idempotence check failed'; exit 1; } || { echo 'Imdempotence passes'; exit 0; }
- ! grep -q '^Not Run:' /tmp/second