Enforce only the rundeck.client state
Change-Id: Ib0b7d572b1c56dea17d913d8594facf44ae52e2f
diff --git a/cicd-lab-pipeline.groovy b/cicd-lab-pipeline.groovy
index 4a6eb8f..9077df7 100644
--- a/cicd-lab-pipeline.groovy
+++ b/cicd-lab-pipeline.groovy
@@ -220,7 +220,7 @@
retry(2) {
// Same for Rundeck
try {
- salt.enforceState(saltMaster, 'I@rundeck:client', 'rundeck', true)
+ salt.enforceState(saltMaster, 'I@rundeck:client', 'rundeck.client', true)
} catch (Exception e) {
common.infoMsg("Restarting Salt minion")
salt.cmdRun(saltMaster, 'I@rundeck:client', "exec 0>&-; exec 1>&-; exec 2>&-; nohup /bin/sh -c 'salt-call --local service.restart salt-minion' &")