0
0
mirror of https://github.com/saltstack-formulas/rsyncd-formula.git synced 2024-11-27 20:57:49 +01:00

Added idempotence check

This commit is contained in:
jpic 2015-05-15 01:18:02 +02:00
parent acac28b1f1
commit d5a1dfab02

View File

@ -23,5 +23,7 @@ install:
script: script:
- sudo salt-call state.show_sls $STATE --local --retcode-passthrough --config-dir=test/etc - 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 - 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/default/rsync
- cat /etc/rsyncd.conf - cat /etc/rsyncd.conf