Refactoring in pipelines to better use salt.groovy lib code
Change-Id: I2643dcdff287384aa623900b7f4b131531d85f49
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 06dc48e..61015f5 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -248,8 +248,8 @@
orchestrate.installOpenstackNetwork(saltMaster)
}
- salt.runSaltProcessStep(saltMaster, 'I@keystone:server', 'cmd.run', ['. /root/keystonerc; neutron net-list'])
- salt.runSaltProcessStep(saltMaster, 'I@keystone:server', 'cmd.run', ['. /root/keystonerc; nova net-list'])
+ salt.cmdRun(saltMaster, 'I@keystone:server', '. /root/keystonerc; neutron net-list')
+ salt.cmdRun(saltMaster, 'I@keystone:server', '. /root/keystonerc; nova net-list')
}
if (salt.testTarget(saltMaster, 'I@ironic:conductor')){