Add an ability to deploy DogTag by cloud-deploy-pipeline
This patch adds enforce state steps for DogTag into cloud-deploy-pipeline
Change-Id: I425f7322eb194a8be4844cd493a7a732459e5985
Related-PROD: PROD-16587
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 5089b2a..e357f50 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -300,6 +300,12 @@
salt.enforceState(master, 'I@octavia:api', 'octavia', true)
}
+ // Install DogTag server service
+ if (salt.testTarget(master, 'I@dogtag:server')) {
+ salt.enforceState(master, 'I@dogtag:server and *01*', 'dogtag.server', true)
+ salt.enforceState(master, 'I@dogtag:server', 'dogtag.server', true)
+ }
+
// Install barbican server service
if (salt.testTarget(master, 'I@barbican:server')) {
salt.enforceState(master, 'I@barbican:server and *01*', 'barbican.server', true)