Rework restart scripts for Elastic Fleet

This commit is contained in:
Josh Brower
2023-05-17 15:37:39 -04:00
parent 7d0251952c
commit 47e67fda46
5 changed files with 5 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ if [ $# -ge 1 ]; then
case $1 in
"steno") docker stop so-steno && docker rm so-steno && salt-call state.apply pcap queue=True;;
"elastic-fleet") docker stop so-elastic-fleet && docker rm so-elastic-fleet && salt-call state.apply elasticfleet queue=True;;
*) docker stop so-$1 ; docker rm so-$1 ; salt-call state.apply $1 queue=True;;
esac
else