Add Alerta configuration before containers launching

Change-Id: I50d7bd2afe929cc45dfbf56b4eca326a66caa976
Closes-Bug: PROD-20380
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 21c1101..e129124 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -793,6 +793,11 @@
         salt.enforceState(master, 'I@mongodb:server', 'mongodb')
     }
 
+    // Configure Alerta
+    if (salt.testTarget(master, 'I@prometheus:alerta')) {
+        salt.enforceState(master, 'I@docker:swarm and I@prometheus:alerta', 'prometheus.alerta')
+    }
+
     // Launch containers
     salt.enforceState(master, 'I@docker:swarm:role:master and I@prometheus:server', 'docker.client')
     salt.runSaltProcessStep(master, 'I@docker:swarm and I@prometheus:server', 'dockerng.ps')