install influxdb and grafana during setup prior to final highstate

This commit is contained in:
m0duspwnens committed 2021-05-13 09:06:47 -04:00
1 parent 26335a9b42
commit 74f2a61b25
2 files changed
+9 -2

No files matched your search

+7
View File
@@ -837,6 +837,13 @@ echo "1" > /root/accept_changes
set_progress_str 73 "Update playbook rules"
so-playbook-ruleupdate >> /root/setup_playbook_rule_update.log 2>&1 &
fi
if [[ "$GRAFANA" = 1 ]]; then
set_progress_str 74 "Installing InfluxDB and Grafana"
salt-call state.apply -l info influxdb >> $setup_log 2>&1
salt-call state.apply -l info grafana >> $setup_log 2>&1
fi
fi
if [[ "$OSQUERY" = 1 ]]; then