mirror of
https://github.com/saltstack-formulas/rsyncd-formula.git
synced 2024-11-27 23:07:56 +01:00
Show /tmp/second before doing a check which exits
This commit is contained in:
parent
e62b524a2d
commit
b20604d99b
@ -30,5 +30,5 @@ script:
|
|||||||
|
|
||||||
# Idempotence check
|
# Idempotence check
|
||||||
- sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc > /tmp/second
|
- sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc > /tmp/second
|
||||||
- grep '^Not Run:' /tmp/second && { echo 'Idempotence check failed'; exit 1; } || { echo 'Imdempotence passes'; exit 0; }
|
|
||||||
- cat /tmp/second
|
- cat /tmp/second
|
||||||
|
- grep '^Not Run:' /tmp/second && { echo 'Idempotence check failed'; exit 1; } || { echo 'Imdempotence passes'; exit 0; }
|
||||||
|
Loading…
Reference in New Issue
Block a user