Add OLD_ db init files for soup compatibility

This commit is contained in:
William Wernert
2020-10-02 14:12:23 -04:00
parent ab662e9b81
commit 54da2b869c
4 changed files with 1790 additions and 1 deletions

View File

@@ -169,7 +169,7 @@ masterunlock() {
playbook() {
echo "Applying playbook settings"
if [[ "$INSTALLEDVERSION" =~ rc.1 ]]; then
salt-call state.apply playbook.db_init
salt-call state.apply playbook.OLD_db_init
rm -f /opt/so/rules/elastalert/playbook/*.yaml
so-playbook-ruleupdate >> /root/soup_playbook_rule_update.log 2>&1 &
fi