Merge "Move GlusterFS to Swarm nodes for mcp11-k8s-calico"
diff --git a/scripts/stacklightv2_infra_install.sh b/scripts/stacklightv2_infra_install.sh
index 35495ae..2209102 100755
--- a/scripts/stacklightv2_infra_install.sh
+++ b/scripts/stacklightv2_infra_install.sh
@@ -21,10 +21,15 @@
sleep 5
# Configure the services running in Docker Swarm
-salt -C 'I@docker:swarm:role:master' state.sls prometheus.server
+salt -C 'I@docker:swarm:role:master' state.sls prometheus.server,prometheus.alertmanager
for img in pushgateway alertmanager prometheus; do
salt -C 'I@docker:swarm' dockerng.pull "docker-sandbox.sandbox.mirantis.net/bkupidura/$img"
salt -C 'I@docker:swarm' dockerng.tag "docker-sandbox.sandbox.mirantis.net/bkupidura/$img:latest" "$img:latest"
done
salt -C 'I@docker:swarm:role:master' state.sls docker
salt -C 'I@docker:swarm' dockerng.ps
+
+# Configure Grafana dashboards and datasources
+salt -C 'I@grafana:client' state.sls grafana.client.service
+salt -C 'I@grafana:client' --async service.restart salt-minion; sleep 10
+salt -C 'I@grafana:client' state.sls grafana.client