fix in target
Change-Id: I8c89d0ef7480ff2f202ec1992e34fadb570f4d14
diff --git a/openstack-compute-install.groovy b/openstack-compute-install.groovy
index 6380057..d6b08c3 100644
--- a/openstack-compute-install.groovy
+++ b/openstack-compute-install.groovy
@@ -49,7 +49,7 @@
timeout(800) {
retry(666) {
try {
- salt.runSaltCommand(saltMaster, 'local', targetLiveAll, 'test.ping')
+ salt.runSaltCommand(saltMaster, 'local', ['expression': targetLiveAll, 'type': 'compound'], 'test.ping')
} catch(e) {
common.infoMsg("Still waiting for node to come up")
sleep(10)
@@ -62,7 +62,7 @@
common.infoMsg("Lets run rest of the states to finish deployment")
salt.enforceState(saltMaster, targetLiveAll, 'linux,openssh,ntp,salt', true)
retry(2) {
- salt.runSaltCommand(saltMaster, 'local', targetLiveAll, 'state.apply')
+ salt.runSaltCommand(saltMaster, 'local', ['expression': targetLiveAll, 'type': 'compound'], 'state.apply')
}
}