Fix variable names
PROD-35670
Change-Id: I99eaf40bd042855b2ffb81cfd87175544975820a
diff --git a/ceph-upgrade.groovy b/ceph-upgrade.groovy
index 980c81c..fd0c821 100644
--- a/ceph-upgrade.groovy
+++ b/ceph-upgrade.groovy
@@ -27,7 +27,7 @@
def python = new com.mirantis.mk.Python()
ceph = new com.mirantis.mk.Ceph()
-def pepperEnv = "pepperEnv"
+pepperEnv = "pepperEnv"
flags = CLUSTER_FLAGS.tokenize(',')
def runHighState = RUNHIGHSTATE
@@ -125,7 +125,7 @@
ceph.waitForHealthy(master, ADMIN_HOST, flags)
if(runHighState) {
- salt.enforceHighstate(pepperEnv, tgt)
+ salt.enforceHighstate(master, "I@ceph:${target}")
}
}