Add new test for multi-line YAML strings

This commit is contained in:
Ian Fijolek
2020-01-07 10:28:14 -08:00
parent f6ccd9a3bd
commit 0269ad3512
5 changed files with 91 additions and 12 deletions
+18
View File
@@ -0,0 +1,18 @@
---
check_interval: 1
monitors:
- name: Shell
command_shell: >
echo 'Some string with stuff';
echo '<angle brackets>';
exit 1
alert_down: ['log_shell']
alert_after: 1
alert_every: 0
alerts:
log_shell:
command_shell: |
echo 'Some string with stuff'
echo '<angle brackets>'