Return adequate exit code when init fails; Logs output of init scripts for troubleshooting failed installations

This commit is contained in:
Jason Ertel
2020-12-23 20:14:46 -05:00
parent 9cf150f988
commit baf5be1a3a
3 changed files with 10 additions and 6 deletions

View File

@@ -123,7 +123,7 @@ cortexscript:
- source: salt://thehive/scripts/cortex_init
- cwd: /opt/so
- template: jinja
- hide_output: True
- hide_output: False
so-thehive:
docker_container.running:
@@ -148,7 +148,7 @@ thehivescript:
- source: salt://thehive/scripts/hive_init
- cwd: /opt/so
- template: jinja
- hide_output: True
- hide_output: False
{% else %}